@@ -32,13 +32,13 @@ def test_env
3232 def test_run_single_file
3333 create_test_file :models , 'foo'
3434 create_test_file :models , 'bar'
35- assert_match "1 tests , 1 assertions, 0 failures" , run_test_command ( "test/models/foo_test.rb" )
35+ assert_match "1 runs , 1 assertions, 0 failures" , run_test_command ( "test/models/foo_test.rb" )
3636 end
3737
3838 def test_run_multiple_files
3939 create_test_file :models , 'foo'
4040 create_test_file :models , 'bar'
41- assert_match "2 tests , 2 assertions, 0 failures" , run_test_command ( "test/models/foo_test.rb test/models/bar_test.rb" )
41+ assert_match "2 runs , 2 assertions, 0 failures" , run_test_command ( "test/models/foo_test.rb test/models/bar_test.rb" )
4242 end
4343
4444 def test_run_file_with_syntax_error
@@ -59,7 +59,7 @@ def test_run_models
5959 run_test_models_command . tap do |output |
6060 assert_match "FooTest" , output
6161 assert_match "BarTest" , output
62- assert_match "2 tests , 2 assertions, 0 failures" , output
62+ assert_match "2 runs , 2 assertions, 0 failures" , output
6363 end
6464 end
6565
@@ -70,7 +70,7 @@ def test_run_helpers
7070 run_test_helpers_command . tap do |output |
7171 assert_match "FooHelperTest" , output
7272 assert_match "BarHelperTest" , output
73- assert_match "2 tests , 2 assertions, 0 failures" , output
73+ assert_match "2 runs , 2 assertions, 0 failures" , output
7474 end
7575 end
7676
@@ -83,7 +83,7 @@ def test_run_units
8383 assert_match "FooTest" , output
8484 assert_match "BarHelperTest" , output
8585 assert_match "BazUnitTest" , output
86- assert_match "3 tests , 3 assertions, 0 failures" , output
86+ assert_match "3 runs , 3 assertions, 0 failures" , output
8787 end
8888 end
8989
@@ -94,7 +94,7 @@ def test_run_controllers
9494 run_test_controllers_command . tap do |output |
9595 assert_match "FooControllerTest" , output
9696 assert_match "BarControllerTest" , output
97- assert_match "2 tests , 2 assertions, 0 failures" , output
97+ assert_match "2 runs , 2 assertions, 0 failures" , output
9898 end
9999 end
100100
@@ -105,7 +105,7 @@ def test_run_mailers
105105 run_test_mailers_command . tap do |output |
106106 assert_match "FooMailerTest" , output
107107 assert_match "BarMailerTest" , output
108- assert_match "2 tests , 2 assertions, 0 failures" , output
108+ assert_match "2 runs , 2 assertions, 0 failures" , output
109109 end
110110 end
111111
@@ -118,7 +118,7 @@ def test_run_functionals
118118 assert_match "FooMailerTest" , output
119119 assert_match "BarControllerTest" , output
120120 assert_match "BazFunctionalTest" , output
121- assert_match "3 tests , 3 assertions, 0 failures" , output
121+ assert_match "3 runs , 3 assertions, 0 failures" , output
122122 end
123123 end
124124
@@ -127,7 +127,7 @@ def test_run_integration
127127 create_test_file :models , 'foo'
128128 run_test_integration_command . tap do |output |
129129 assert_match "FooIntegration" , output
130- assert_match "1 tests , 1 assertions, 0 failures" , output
130+ assert_match "1 runs , 1 assertions, 0 failures" , output
131131 end
132132 end
133133
@@ -136,7 +136,7 @@ def test_run_all_suites
136136 suites . each { |suite | create_test_file suite , "foo_#{ suite } " }
137137 run_test_command ( '' ) . tap do |output |
138138 suites . each { |suite | assert_match "Foo#{ suite . to_s . camelize } Test" , output }
139- assert_match "7 tests , 7 assertions, 0 failures" , output
139+ assert_match "7 runs , 7 assertions, 0 failures" , output
140140 end
141141 end
142142
0 commit comments