Sha256: 69b3aaed806a14f9c0c4c10d1cfad04c03bfe7883d09e142d6c25e6fd951322f

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

Given /^I am using an asset host$/ do
  Middleman::Base.enable :asset_host
  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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-0.99.0.pre features/step_definitions/asset_host_steps.rb
middleman-0.9.0.pre features/step_definitions/asset_host_steps.rb