From 3ee9d0061fa042a9fcffa864ffa1492a00d0d179 Mon Sep 17 00:00:00 2001 From: schneems Date: Tue, 30 Aug 2016 10:26:13 -0500 Subject: Address comment via @dhh, better option naming --- railties/test/application/asset_debugging_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'railties/test/application') diff --git a/railties/test/application/asset_debugging_test.rb b/railties/test/application/asset_debugging_test.rb index ac42cbcec9..06d170fa4a 100644 --- a/railties/test/application/asset_debugging_test.rb +++ b/railties/test/application/asset_debugging_test.rb @@ -88,7 +88,7 @@ module ApplicationTests } cases.each do |(view_method, tag_match)| - app_file "app/views/posts/index.html.erb", "<%= #{ view_method } '#{contents}', public_folder: true %>" + app_file "app/views/posts/index.html.erb", "<%= #{ view_method } '#{contents}', skip_pipeline: true %>" app "development" @@ -114,7 +114,7 @@ module ApplicationTests } cases.each do |(view_method, tag_match)| - app_file "app/views/posts/index.html.erb", "<%= #{ view_method } '#{contents}', public_folder: true %>" + app_file "app/views/posts/index.html.erb", "<%= #{ view_method } '#{contents}', skip_pipeline: true %>" app "development" @@ -127,10 +127,10 @@ module ApplicationTests end end - test "{ public_folder: true } does not use the asset pipeline" do + test "{ skip_pipeline: true } does not use the asset pipeline" do cases = { /\/assets\/application-.*.\.js/ => {}, - /application.js/ => { public_folder: true }, + /application.js/ => { skip_pipeline: true }, } cases.each do |(tag_match, options_hash)| app_file "app/views/posts/index.html.erb", "<%= asset_path('application.js', #{ options_hash }) %>" -- cgit v1.2.3