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