We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8137932 commit c4266c6Copy full SHA for c4266c6
railties/test/application/test_test.rb
@@ -101,7 +101,7 @@ def test_failure
101
end
102
RUBY
103
104
- output = run_test_file("unit/failing_test.rb", env: { "BACKTRACE" => "1" })
+ output = run_test_file("unit/failing_test.rb")
105
assert_match %r{test/unit/failing_test\.rb}, output
106
assert_match %r{test/unit/failing_test\.rb:4}, output
107
@@ -331,7 +331,7 @@ def assert_successful_test_run(name)
331
result
332
333
334
- def run_test_file(name, options = {})
+ def run_test_file(name)
335
rails "test", "#{app_path}/test/#{name}", allow_failure: true
336
337
0 commit comments