Skip to content

Commit c4266c6

Browse files
committed
Removed options method argument from application tests in railties
1 parent 8137932 commit c4266c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/test/application/test_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_failure
101101
end
102102
RUBY
103103

104-
output = run_test_file("unit/failing_test.rb", env: { "BACKTRACE" => "1" })
104+
output = run_test_file("unit/failing_test.rb")
105105
assert_match %r{test/unit/failing_test\.rb}, output
106106
assert_match %r{test/unit/failing_test\.rb:4}, output
107107
end
@@ -331,7 +331,7 @@ def assert_successful_test_run(name)
331331
result
332332
end
333333

334-
def run_test_file(name, options = {})
334+
def run_test_file(name)
335335
rails "test", "#{app_path}/test/#{name}", allow_failure: true
336336
end
337337
end

0 commit comments

Comments
 (0)