Sha256: 330af22df8985a96f6340912362bea19b5c3592ff6849cb904f72ccb55f944a2

Contents?: true

Size: 835 Bytes

Versions: 23

Compression:

Stored size: 835 Bytes

Contents

# Sets up the Rails environment for Cucumber
ENV["RAILS_ENV"] ||= "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'cucumber/rails/world'

# Comment out the next line if you don't want Cucumber Unicode support
require 'cucumber/formatter/unicode'

# Comment out the next line if you don't want transactions to
# open/roll back around each scenario
Cucumber::Rails.use_transactional_fixtures

# Comment out the next line if you want Rails' own error handling
# (e.g. rescue_action_in_public / rescue_responses / rescue_from)
Cucumber::Rails.bypass_rescue

require 'webrat'
require 'cucumber/webrat/table_locator' # Lets you do table.diff!(table_at('#my_table').to_a)

Webrat.configure do |config|
  config.mode = :rails
end

require 'cucumber/rails/rspec'
require 'webrat/core/matchers'

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
muck-activities-0.1.27 test/rails_root/features/support/env.rb
muck-activities-0.1.26 test/rails_root/features/support/env.rb
muck-friends-0.1.17 test/rails_root/features/support/env.rb
muck-activities-0.1.25 test/rails_root/features/support/env.rb
muck-friends-0.1.16 test/rails_root/features/support/env.rb
muck-activities-0.1.24 test/rails_root/features/support/env.rb
muck-friends-0.1.15 test/rails_root/features/support/env.rb
muck-friends-0.1.14 test/rails_root/features/support/env.rb
muck-activities-0.1.23 test/rails_root/features/support/env.rb
muck-friends-0.1.13 test/rails_root/features/support/env.rb
muck-friends-0.1.12 test/rails_root/features/support/env.rb
muck-activities-0.1.22 test/rails_root/features/support/env.rb
muck-friends-0.1.11 test/rails_root/features/support/env.rb
muck-activities-0.1.21 test/rails_root/features/support/env.rb
muck-friends-0.1.10 test/rails_root/features/support/env.rb
muck-activities-0.1.20 test/rails_root/features/support/env.rb
muck-friends-0.1.6 test/rails_root/features/support/env.rb
muck-friends-0.1.7 test/rails_root/features/support/env.rb
muck-friends-0.1.8 test/rails_root/features/support/env.rb
muck-friends-0.1.9 test/rails_root/features/support/env.rb