Sinatra 1.0 based prerelease
This commit is contained in:
parent
ce6deb4c9f
commit
af8f1c4f26
7 changed files with 59 additions and 1 deletions
6
features/step_definitions/asset_host_steps.rb
Normal file
6
features/step_definitions/asset_host_steps.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
Given /^I am using an asset host$/ do
|
||||
Middleman::Base.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))
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue