aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2016-02-15 16:47:51 +0100
committerYves Senn <yves.senn@gmail.com>2016-02-15 16:47:51 +0100
commit0ff1d9b4336352f63b95e0ac4df2823763304a99 (patch)
tree0c64312705a3c5179a54390d23e171d5ca88e789
parent218dc0a3d32e466062ddf0d8038b3c3cdcdad850 (diff)
downloadrails-0ff1d9b4336352f63b95e0ac4df2823763304a99.tar.gz
rails-0ff1d9b4336352f63b95e0ac4df2823763304a99.tar.bz2
rails-0ff1d9b4336352f63b95e0ac4df2823763304a99.zip
fixing the build take II. :sweat:
-rw-r--r--railties/test/generators/test_runner_in_engine_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/test_runner_in_engine_test.rb b/railties/test/generators/test_runner_in_engine_test.rb
index 69906b962b..d37e261fbb 100644
--- a/railties/test/generators/test_runner_in_engine_test.rb
+++ b/railties/test/generators/test_runner_in_engine_test.rb
@@ -17,7 +17,7 @@ class TestRunnerInEngineTest < ActiveSupport::TestCase
create_test_file 'post', pass: false
output = run_test_command('test/post_test.rb')
- expect = %r{Running:\n\nPostTest\nF\n\nFailure:\nPostTest#test_truth:\nwups!\n\nbin/rails test test/post_test.rb:6}
+ expect = %r{Running:\n\nPostTest\nF\n\nFailure:\nPostTest#test_truth \[[^\]]+test/post_test.rb:6\]:\nwups!\n\nbin/rails test test/post_test.rb:4}
assert_match expect, output
end