Sha256: 167ff0f86b8e54309aecd8cc545f473e82956c50cd26fa6aae3920ee5015f375

Contents?: true

Size: 684 Bytes

Versions: 2

Compression:

Stored size: 684 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'

# 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

2 entries across 2 versions & 1 rubygems

Version Path
scidea-schools-1.0.1 features/support/env.rb
scidea-schools-1.0.0 features/support/env.rb