aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/app_generator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 8b0dc39d92..6fccd1b399 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -202,7 +202,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
end
assert_file "app/assets/javascripts/application.js" do |contents|
- assert_no_match %r{^//=\s+turbolinks\s}, contents
+ assert_no_match %r{^//= require turbolinks}, contents
end
ensure
template.close