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