提交 d5b71591 编写于 作者: R Rafael Mendonça França

Merge pull request #13003 from laurocaetano/fix_assertion_for_turbolinks

Fix the assertion for not inclusion of turbolinks on application.js.
......@@ -202,7 +202,7 @@ def test_skip_turbolinks_when_it_is_not_on_gemfile
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册