Sha256: a18f05861176937472a7ad33daedf47871d53efffe87d7a04b0a789e022be357
Contents?: true
Size: 750 Bytes
Versions: 17
Compression:
Stored size: 750 Bytes
Contents
# Sets up the Rails environment for Cucumber ENV["RAILS_ENV"] ||= "cucumber" require File.expand_path(File.dirname(__FILE__) + '/../../../../../config/environment') require 'cucumber/rails/world' # Comment out the next line if you don't want Cucumber Unicode support require 'cucumber/formatter/unicode' # Comment out the next line if you don't want transactions to # open/roll back around each scenario Cucumber::Rails.use_transactional_fixtures # Comment out the next line if you want Rails' own error handling # (e.g. rescue_action_in_public / rescue_responses / rescue_from) Cucumber::Rails.bypass_rescue require 'webrat' Webrat.configure do |config| config.mode = :rails end require 'cucumber/rails/rspec' require 'webrat/core/matchers'
Version data entries
17 entries across 17 versions & 1 rubygems