Skip to content
Browse files

Remove assert_raises usage that only test-unit 1 supports. Breaks min…

…itest and test-unit 2.
  • Loading branch information...
1 parent 4663f75 commit adc2115132f22cbb772716c167f75346ab6d6c36 @jeremy jeremy committed Dec 6, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/test/application/configuration_test.rb
View
4 railties/test/application/configuration_test.rb
@@ -50,8 +50,8 @@ def setup
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
+end

0 comments on commit adc2115

Please sign in to comment.
Something went wrong with that request. Please try again.