Sha256: 9af1299b448523eaeefcc7df5690d1394c837672de5995dc136b78e220d61b8c
Contents?: true
Size: 834 Bytes
Versions: 7
Compression:
Stored size: 834 Bytes
Contents
require 'cucumber/rails3/application' ENV["RAILS_ENV"] ||= "test" ENV["RAILS_ROOT"] ||= File.expand_path(File.dirname(caller.detect{|f| f =~ /\/env\.rb:/}) + '/../..') require File.expand_path(ENV["RAILS_ROOT"] + '/config/environment') require 'cucumber/rails3/action_controller' if defined?(ActiveRecord::Base) require 'rails/test_help' else require 'action_dispatch/testing/test_process' require 'action_dispatch/testing/integration' end if !Rails.application.config.cache_classes warn "WARNING: You have set Rails' config.cache_classes to false (most likely in config/environments/cucumber.rb). This setting is known to cause problems with database transactions. Set config.cache_classes to true if you want to use transactions. For more information see https://rspec.lighthouseapp.com/projects/16211/tickets/165." end
Version data entries
7 entries across 7 versions & 1 rubygems