aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2011-06-08 02:27:48 -0400
committerPrem Sichanugrist <s@sikachu.com>2011-06-08 02:30:50 -0400
commit1bbc51e5a73a5f97565abae43f13f96209441bb8 (patch)
treee1072ddde0767abda7f44d2d741d2ebdcfe2b9f8 /actionpack
parent9e2e24265510572a6574d38ba2af83fdf734ab54 (diff)
downloadrails-1bbc51e5a73a5f97565abae43f13f96209441bb8.tar.gz
rails-1bbc51e5a73a5f97565abae43f13f96209441bb8.tar.bz2
rails-1bbc51e5a73a5f97565abae43f13f96209441bb8.zip
Fix failing test on uninitialized `Rails.config.assets.prefix`
This was introduced in [2684f17a17e4f97bdb89d20b4cd08585235263a2] :bomb:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/abstract_unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index 60534a9746..24d071df39 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -151,6 +151,7 @@ class BasicController
config.assets_dir = public_dir
config.javascripts_dir = "#{public_dir}/javascripts"
config.stylesheets_dir = "#{public_dir}/stylesheets"
+ config.assets = ActiveSupport::InheritableOptions.new({ :prefix => "assets" })
config
end
end