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
cucumber-1.0.4 examples/ramaze/features/support/env.rb
cucumber-1.0.3 examples/ramaze/features/support/env.rb
cucumber-1.0.2 examples/ramaze/features/support/env.rb
cucumber-1.0.1 examples/ramaze/features/support/env.rb
cucumber-1.0.0 examples/ramaze/features/support/env.rb
cucumber-0.8.7 examples/ramaze/features/support/env.rb
cucumber-0.8.6 examples/ramaze/features/support/env.rb
cucumber-0.10.7 examples/ramaze/features/support/env.rb
cucumber-0.10.6 examples/ramaze/features/support/env.rb
cucumber-0.10.5 examples/ramaze/features/support/env.rb
cucumber-0.10.3 examples/ramaze/features/support/env.rb
cucumber-0.10.2 examples/ramaze/features/support/env.rb
cucumber-0.10.1 examples/ramaze/features/support/env.rb
stefl-cucumber-0.10.1 examples/ramaze/features/support/env.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/support/env.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/support/env.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/support/env.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/support/env.rb
cucumber-0.10.0 examples/ramaze/features/support/env.rb
cucumber-0.9.4 examples/ramaze/features/support/env.rb