Sha256: 1f61ff60bc1a139dd3376dd14128eaae9abb200add354323bc58f521a3f25323

Contents?: true

Size: 620 Bytes

Versions: 30

Compression:

Stored size: 620 Bytes

Contents

# See http://wiki.github.com/aslakhellesoy/cucumber/ramaze
# for more details about Ramaze with Cucumber

gem 'ramaze', '>= 2009.07'
gem 'rack-test', '>= 0.5.0'
gem 'webrat', '>= 0.5.3'

require 'ramaze'
Ramaze.options.started = true
require __DIR__("../../app.rb")

require 'spec/expectations'
require 'rack/test'
require 'webrat'

Webrat.configure do |config|
  config.mode = :rack
end

class MyWorld
  include Rack::Test::Methods
  include Webrat::Methods
  include Webrat::Matchers

  Webrat::Methods.delegate_to_session :response_code, :response_body

  def app
    Ramaze::middleware
  end
end

World{MyWorld.new}

Version data entries

30 entries across 30 versions & 6 rubygems

Version Path
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/examples/ramaze/features/support/env.rb
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/examples/ramaze/features/support/env.rb
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/examples/ramaze/features/support/env.rb
cucumber-0.4.4 examples/ramaze/features/support/env.rb
cucumber-0.4.3 examples/ramaze/features/support/env.rb
cucumber-0.4.2 examples/ramaze/features/support/env.rb
cucumber-0.4.1 examples/ramaze/features/support/env.rb
cucumber-0.4.0 examples/ramaze/features/support/env.rb
cucumber-0.4.0.rc1 examples/ramaze/features/support/env.rb
cucumber-0.3.104 examples/ramaze/features/support/env.rb