Sha256: 7e5966f77410c61ed97739cff2cfa31295d42737f992287683dfb423aed441e4

Contents?: true

Size: 456 Bytes

Versions: 348

Compression:

Stored size: 456 Bytes

Contents

# Sets up the Rails environment for Cucumber
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'factory_girl'
require 'cucumber/rails/world'
require 'cucumber/formatter/unicode' # Comment out this line if you don't want Cucumber Unicode support
Cucumber::Rails.use_transactional_fixtures
Cucumber::Rails.bypass_rescue

require 'webrat'

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

Version data entries

348 entries across 348 versions & 11 rubygems

Version Path
muck-engine-0.4.27 test/rails_root/features/support/env.rb
overlord-0.1.22 test/rails_root/features/support/env.rb
muck-users-0.3.13 test/rails_root/features/support/env.rb
muck-engine-0.4.26 test/rails_root/features/support/env.rb
muck-commerce-0.2.6 test/rails_root/features/support/env.rb
muck-commerce-0.2.5 test/rails_root/features/support/env.rb
muck-engine-0.4.25 test/rails_root/features/support/env.rb
muck-engine-0.4.24 test/rails_root/features/support/env.rb
overlord-0.1.21 test/rails_root/features/support/env.rb
muck-services-0.1.44 test/rails_root/features/support/env.rb
muck-services-0.1.43 test/rails_root/features/support/env.rb
muck-commerce-0.2.4 test/rails_root/features/support/env.rb
muck-commerce-0.2.3 test/rails_root/features/support/env.rb
muck-engine-0.4.23 test/rails_root/features/support/env.rb
muck-commerce-0.2.2 test/rails_root/features/support/env.rb
muck-engine-0.4.21 test/rails_root/features/support/env.rb
muck-commerce-0.2.1 test/rails_root/features/support/env.rb
muck-commerce-0.2.0 test/rails_root/features/support/env.rb
muck-users-0.3.12 test/rails_root/features/support/env.rb
muck-commerce-0.1.9 test/rails_root/features/support/env.rb