提交 a7256c30 编写于 作者: S schneems

Thanks rubocop

上级 e1bd2f59
......@@ -130,7 +130,7 @@ class ::PostsController < ActionController::Base ; end
test "{ public_folder: true } does not use the asset pipeline" do
cases = {
/\/assets\/application-.*.\.js/ => {},
/application.js/ => { public_folder: true},
/application.js/ => { public_folder: true },
}
cases.each do |(tag_match, options_hash)|
app_file "app/views/posts/index.html.erb", "<%= asset_path('application.js', #{ options_hash }) %>"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册