mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove assert_raises usage that only test-unit 1 supports. Breaks minitest and test-unit 2.
This commit is contained in:
parent
4663f75f6b
commit
adc2115132
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue