Permalink
Browse files

Fix failing test on uninitialized `Rails.config.assets.prefix`

This was introduced in [2684f17] 💣
  • Loading branch information...
sikachu committed Jun 8, 2011
1 parent 9e2e242 commit 1bbc51e5a73a5f97565abae43f13f96209441bb8
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/abstract_unit.rb
@@ -151,6 +151,7 @@ def config
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

0 comments on commit 1bbc51e

Please sign in to comment.