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
aslakhellesoy-cucumber-0.3.104 examples/ramaze/features/support/env.rb
cucumber-0.7.0.beta.4 examples/ramaze/features/support/env.rb
cucumber-0.7.0.beta.3 examples/ramaze/features/support/env.rb
cucumber-0.7.0.beta.2 examples/ramaze/features/support/env.rb
cucumber-0.7.0.beta.1 examples/ramaze/features/support/env.rb
cucumber-0.6.4 examples/ramaze/features/support/env.rb
cucumber-0.6.3 examples/ramaze/features/support/env.rb
davidtrogers-cucumber-0.6.2 examples/ramaze/features/support/env.rb
cucumber-0.6.2 examples/ramaze/features/support/env.rb
cucumber-0.6.1 examples/ramaze/features/support/env.rb
cucumber-0.6.0 examples/ramaze/features/support/env.rb
cucumber-0.5.3 examples/ramaze/features/support/env.rb
cucumber-0.5.2 examples/ramaze/features/support/env.rb
cucumber-0.5.1 examples/ramaze/features/support/env.rb
cucumber-0.5.0 examples/ramaze/features/support/env.rb
cucumber-0.4.5.rc2 examples/ramaze/features/support/env.rb
kbaum-cucumber-0.4.5.pre examples/ramaze/features/support/env.rb
cucumber-0.4.5.rc1 examples/ramaze/features/support/env.rb
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/examples/ramaze/features/support/env.rb
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/examples/ramaze/features/support/env.rb