Sha256: af7d253ced18232075007083dd416d4eaac25157dfee2795b1e0da3790426284
Contents?: true
Size: 782 Bytes
Versions: 16
Compression:
Stored size: 782 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 <% if framework == :rspec -%> require 'cucumber/rails/rspec' require 'webrat/core/matchers' <% end -%>
Version data entries
16 entries across 16 versions & 6 rubygems