diff options
| author | Teddy Wing | 2015-05-30 15:06:12 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-05-30 15:06:12 -0400 |
| commit | b73ede2325dd9fb9bebce009d52986b0cadcf7a9 (patch) | |
| tree | 10b644037f9a4e89a28e40d76fb28dea4b0e57c2 | |
| parent | 20267504cae2ab5ec910b245e5d6d014a1341ce8 (diff) | |
| download | Beginning-Ruby-Exercises-b73ede2325dd9fb9bebce009d52986b0cadcf7a9.tar.bz2 | |
Fix `./run_test.sh 7`
Running exercise 7's tests would also run exercise 8s test because the
regex matcher caught anything with `Table` in it. Make the test name for
the ex 7 block a little more specific so that we're only running ex 7s
tests when we try to do so.
| -rw-r--r-- | exercises_spec.rb | 2 | ||||
| -rwxr-xr-x | run_test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises_spec.rb b/exercises_spec.rb index 2f838f0..81065fe 100644 --- a/exercises_spec.rb +++ b/exercises_spec.rb @@ -55,7 +55,7 @@ apple cat' end end - describe 'Table' do + describe 'Table1' do it 'must be initialised with a decimal height' do t = Table.new(50.4) t.must_be_instance_of Table diff --git a/run_test.sh b/run_test.sh index a0278d8..c43c7f1 100755 --- a/run_test.sh +++ b/run_test.sh @@ -7,7 +7,7 @@ exercises=( /#string_plus/ /#join_reverse_array/ /#array_tack_join/ - /Table/ + /Table1/ /Table2#height_times2/ ) |
