Merge pull request #558 from bhollis/asset-hash-rack

Asset_hash doesn't play nice with Sprockets
This commit is contained in:
Thomas Reynolds 2012-09-23 18:41:11 -07:00
commit 2aec04db69
5 changed files with 48 additions and 8 deletions

View file

@ -99,10 +99,7 @@ module Middleman::Cli
#
# @return [Rack::Test::Session]
def shared_rack
@_shared_rack ||= begin
mock = ::Rack::MockSession.new(shared_server.to_rack_app)
::Rack::Test::Session.new(mock)
end
@_shared_rack ||= ::Rack::Test::Session.new(shared_server.to_rack_app)
end
# Set the root path to the Middleman::Application's root