Sha256: ca93ac8dde30b815bb59d860bba6561e7c2836831536fcb31ce849c78700a930
Contents?: true
Size: 697 Bytes
Versions: 35
Compression:
Stored size: 697 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/formatter/unicode' # Comment out this line if you don't want Cucumber Unicode support Cucumber::Rails.use_transactional_fixtures Cucumber::Rails.bypass_rescue # Comment out this line if you want Rails own error handling # (e.g. rescue_action_in_public / rescue_responses / rescue_from) 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
35 entries across 35 versions & 5 rubygems