From fc84a198fa45ae70cca9d2cf2afe161d2e4fcb0b Mon Sep 17 00:00:00 2001 From: Yoshiyuki Hirano Date: Sun, 6 Aug 2017 15:40:47 +0900 Subject: Fix escaped character --- railties/test/generators/plugin_generator_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index 1dfff38543..9b33a0ef06 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -501,7 +501,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase run_generator [destination_root, "--skip-test"] assert_no_file "test" assert_file ".gitignore" do |contents| - assert_no_match(/test\dummy/, contents) + assert_no_match(/test\/dummy/, contents) end end -- cgit v1.2.3