Sinatra 1.0 based prerelease

This commit is contained in:
tdreyno 2010-02-02 17:03:43 -08:00
parent ce6deb4c9f
commit af8f1c4f26
7 changed files with 59 additions and 1 deletions

View 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