Sha256: e20b5f9718b9331ee85355a8e307532f5c6306cd9e1e2789c9a6c368d785ad3c

Contents?: true

Size: 577 Bytes

Versions: 9

Compression:

Stored size: 577 Bytes

Contents

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

require 'webrat/rails'

# Comment out the next two lines if you're not using RSpec's matchers (should / should_not) in your steps.
require 'cucumber/rails/rspec'
require 'webrat/rspec-rails'

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cms-lite-0.5.7 test/rails_root/features/support/env.rb
cms-lite-0.5.6 test/rails_root/features/support/env.rb
cms-lite-0.5.4 test/rails_root/features/support/env.rb
cms-lite-0.5.3 test/rails_root/features/support/env.rb
cms-lite-0.5.2 test/rails_root/features/support/env.rb
cms-lite-0.4.0 test/rails_root/features/support/env.rb
cms-lite-0.4.1 test/rails_root/features/support/env.rb
cms-lite-0.5.0 test/rails_root/features/support/env.rb
cms-lite-0.5.1 test/rails_root/features/support/env.rb