diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-06 17:23:43 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-06 17:23:43 -0800 |
commit | adc2115132f22cbb772716c167f75346ab6d6c36 (patch) | |
tree | d1c33bb332bf996228ba9b6b7f76972ca2ad5567 | |
parent | 4663f75f6b1c1e1de35e165cf7d01b83331775ae (diff) | |
download | rails-adc2115132f22cbb772716c167f75346ab6d6c36.tar.gz rails-adc2115132f22cbb772716c167f75346ab6d6c36.tar.bz2 rails-adc2115132f22cbb772716c167f75346ab6d6c36.zip |
Remove assert_raises usage that only test-unit 1 supports. Breaks minitest and test-unit 2.
-rw-r--r-- | railties/test/application/configuration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/application/configuration_test.rb b/railties/test/application/configuration_test.rb index fc21d4e5fd..1fcab8c651 100644 --- a/railties/test/application/configuration_test.rb +++ b/railties/test/application/configuration_test.rb @@ -50,8 +50,8 @@ module ApplicationTests Dir.chdir("#{app_path}/app") do require "#{app_path}/config/environment" - assert_raises(NoMethodError, /day/) { 1.day } + assert_raises(NoMethodError) { 1.day } end end end -end
\ No newline at end of file +end |