Sha256: a04a0e9a0eaec2be9e3f7a0e69ba6d9e00d6589f10cdb0537aa759ef9ef07e3b
Contents?: true
Size: 572 Bytes
Versions: 5
Compression:
Stored size: 572 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/rspec-rails'
Version data entries
5 entries across 5 versions & 2 rubygems