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