aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-05-30 15:06:12 -0400
committerTeddy Wing2015-05-30 15:06:12 -0400
commitb73ede2325dd9fb9bebce009d52986b0cadcf7a9 (patch)
tree10b644037f9a4e89a28e40d76fb28dea4b0e57c2
parent20267504cae2ab5ec910b245e5d6d014a1341ce8 (diff)
downloadBeginning-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.rb2
-rwxr-xr-xrun_test.sh2
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/
)