fix slickmap, change to config.rb, rename Base to Server
This commit is contained in:
parent
b5697d9b0d
commit
8b00e830f9
34 changed files with 311 additions and 291 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue