aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-08-06 15:40:47 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-08-06 15:40:47 +0900
commitfc84a198fa45ae70cca9d2cf2afe161d2e4fcb0b (patch)
tree57745899717f18148680e5751cb28f2dbe5dd91e /railties/test
parenta8217bb594a625fb46a6af1488c0bde4aeac4986 (diff)
downloadrails-fc84a198fa45ae70cca9d2cf2afe161d2e4fcb0b.tar.gz
rails-fc84a198fa45ae70cca9d2cf2afe161d2e4fcb0b.tar.bz2
rails-fc84a198fa45ae70cca9d2cf2afe161d2e4fcb0b.zip
Fix escaped character
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/plugin_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
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