Sha256: 17ed2e65e77c12fcd24ddc64e55ed9d9b21e3d1524e362fa1089553fb96e5a11

Contents?: true

Size: 679 Bytes

Versions: 98

Compression:

Stored size: 679 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")

begin require 'rspec/expectations'; rescue LoadError; require 'spec/expectations'; end
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

98 entries across 94 versions & 12 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/examples/ramaze/features/support/env.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/examples/ramaze/features/support/env.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/examples/ramaze/features/support/env.rb
cucumber-1.3.20 examples/ramaze/features/support/env.rb
cucumber-1.3.19 examples/ramaze/features/support/env.rb
cucumber-1.3.18 examples/ramaze/features/support/env.rb
cucumber-1.3.17 examples/ramaze/features/support/env.rb
cucumber-1.3.16 examples/ramaze/features/support/env.rb
cucumber-1.3.15 examples/ramaze/features/support/env.rb
cucumber-1.3.14 examples/ramaze/features/support/env.rb
cucumber-1.3.13 examples/ramaze/features/support/env.rb
cucumber-1.3.12 examples/ramaze/features/support/env.rb
cucumber-1.3.11 examples/ramaze/features/support/env.rb
cucumber-1.3.10 examples/ramaze/features/support/env.rb
cucumber-1.3.9 examples/ramaze/features/support/env.rb
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/examples/ramaze/features/support/env.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/examples/ramaze/features/support/env.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/examples/ramaze/features/support/env.rb
cucumber-1.3.8 examples/ramaze/features/support/env.rb
cucumber-1.3.7 examples/ramaze/features/support/env.rb