Sha256: 8dc3d0ae13e7ecacb6c87e37f4f74b2b20aa7b06a650eb8e6e6387611c524a9a

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 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__("../../test_helper.rb")
load TESTS_DIR/"../bin/ruby-station"

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

4 entries across 4 versions & 1 rubygems

Version Path
ruby-station-0.1.3 tests/features/support/env.rb
ruby-station-0.1.2 tests/features/support/env.rb
ruby-station-0.1.1 tests/features/support/env.rb
ruby-station-0.1.0 tests/features/support/env.rb