From 984ce0cf9acf6e5bae4e95b87d6a9545579464ef Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Jan 2012 13:46:14 -0800 Subject: use a regular expression for the number of passes. We only care that all tests pass, not the number of tests. --- railties/test/application/rake_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/test/application/rake_test.rb') diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 2e4927b229..ff12b3e9fc 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -128,7 +128,7 @@ module ApplicationTests `bundle exec rake db:migrate db:test:clone test` end - assert_match(/7 tests, 10 assertions, 0 failures, 0 errors/, content) + assert_match(/\d+ tests, \d+ assertions, 0 failures, 0 errors/, content) end def test_rake_dump_structure_should_respect_db_structure_env_variable -- cgit v1.2.3