Sha256: cb5ba8854d7e29b0676d8db43a1d26a6d131dd79c583b126be737154bf605512

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 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'

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

# 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/core/matchers'

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.1.99.20 rails_generators/cucumber/templates/env.rb
aslakhellesoy-cucumber-0.1.99.21 rails_generators/cucumber/templates/env.rb
kosmas58-cucumber-0.1.99.21 rails_generators/cucumber/templates/env.rb