Sha256: 67683c1dbd51a887a2a6eaa2e611ab85c4a46ad172cea666c02d34504ef17497
Contents?: true
Size: 735 Bytes
Versions: 9
Compression:
Stored size: 735 Bytes
Contents
ENV["RAILS_ENV"] ||= "test" require File.expand_path("../../../config/environment", __FILE__) $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib') require 'rspec/expectations' require 'cucumber/rails' require 'email_spec' require 'email_spec/cucumber' # Remove this line if your app doesn't have a database. # For some databases (like MongoDB and CouchDB) you may need to use :truncation instead. DatabaseCleaner.strategy = :transaction Cucumber::Rails::World.use_transactional_fixtures = false Before do page.driver.options[:resynchronize] = true end # load local factories which will be added to the factories from scidea. Dir.glob(File.join(File.dirname(__FILE__), '../../spec/factories/*.rb')).each {|f| require f }
Version data entries
9 entries across 9 versions & 2 rubygems