aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-08-30 10:26:13 -0500
committerschneems <richard.schneeman@gmail.com>2016-08-30 10:26:13 -0500
commit3ee9d0061fa042a9fcffa864ffa1492a00d0d179 (patch)
tree853fc115d07a2672d5f2d9ea741815eb219a690a /railties
parente1791d1dd4820157654e59d2e9315b4975e3c36a (diff)
downloadrails-3ee9d0061fa042a9fcffa864ffa1492a00d0d179.tar.gz
rails-3ee9d0061fa042a9fcffa864ffa1492a00d0d179.tar.bz2
rails-3ee9d0061fa042a9fcffa864ffa1492a00d0d179.zip
Address comment via @dhh, better option naming
Diffstat (limited to 'railties')
-rw-r--r--railties/test/application/asset_debugging_test.rb8
1 files changed, 4 insertions, 4 deletions
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 }) %>"