diff options
author | Yves Senn <yves.senn@gmail.com> | 2016-02-15 15:56:11 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2016-02-15 15:57:14 +0100 |
commit | 218dc0a3d32e466062ddf0d8038b3c3cdcdad850 (patch) | |
tree | a2cc8c549061e93ecd737d2e284f43d817c7becf | |
parent | cfd61919dadc8eb1f4945beca366b4b947a4f8d1 (diff) | |
download | rails-218dc0a3d32e466062ddf0d8038b3c3cdcdad850.tar.gz rails-218dc0a3d32e466062ddf0d8038b3c3cdcdad850.tar.bz2 rails-218dc0a3d32e466062ddf0d8038b3c3cdcdad850.zip |
fix build broken by 07e422f58d61da0.
-rw-r--r-- | railties/test/generators/plugin_test_runner_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/plugin_test_runner_test.rb b/railties/test/generators/plugin_test_runner_test.rb index f492cd49ef..ef6359fece 100644 --- a/railties/test/generators/plugin_test_runner_test.rb +++ b/railties/test/generators/plugin_test_runner_test.rb @@ -63,7 +63,7 @@ class PluginTestRunnerTest < 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/test (/private)?#{plugin_path}/test/post_test.rb:6} + expect = %r{Running:\n\nPostTest\nF\n\nFailure:\nPostTest#test_truth \[[^\]]+test/post_test.rb:6\]:\nwups!\n\nbin/test (/private)?#{plugin_path}/test/post_test.rb:4} assert_match expect, output end |