fix slickmap, change to config.rb, rename Base to Server

This commit is contained in:
tdreyno 2010-09-05 19:28:38 -07:00
parent b5697d9b0d
commit 8b00e830f9
34 changed files with 311 additions and 291 deletions

View file

@ -1,7 +1,7 @@
Given /^I am using an asset host$/ do
Middleman::Base.enable :asset_host
Middleman::Base.set :asset_host do |asset|
Middleman::Server.enable :asset_host
Middleman::Server.set :asset_host do |asset|
"http://assets%d.example.com" % (asset.hash % 4)
end
@browser = Rack::Test::Session.new(Rack::MockSession.new(Middleman::Base.new))
@browser = Rack::Test::Session.new(Rack::MockSession.new(Middleman::Server.new))
end