From b73ede2325dd9fb9bebce009d52986b0cadcf7a9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 30 May 2015 15:06:12 -0400 Subject: 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. --- exercises_spec.rb | 2 +- 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/ ) -- cgit v1.2.3