aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-06 13:46:14 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-06 13:46:28 -0800
commit984ce0cf9acf6e5bae4e95b87d6a9545579464ef (patch)
tree600f694f46b6e50ea032087824c749d661c3401e
parent6708e8438cf250afe102d131fdc1f08302427295 (diff)
downloadrails-984ce0cf9acf6e5bae4e95b87d6a9545579464ef.tar.gz
rails-984ce0cf9acf6e5bae4e95b87d6a9545579464ef.tar.bz2
rails-984ce0cf9acf6e5bae4e95b87d6a9545579464ef.zip
use a regular expression for the number of passes. We only care that
all tests pass, not the number of tests.
-rw-r--r--railties/test/application/rake_test.rb2
1 files changed, 1 insertions, 1 deletions
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