Sha256: f65448bf7e379ad569d04f7379a76ada50f46142401dc55e4567027cfcd8cf92
Contents?: true
Size: 754 Bytes
Versions: 3
Compression:
Stored size: 754 Bytes
Contents
if ENV['START_SIMPLECOV'].to_i == 1 require 'simplecov' SimpleCov.start do add_filter 'features' end end require 'acts_as_account' require 'complex_config' config =ComplexConfig::Provider.config File.dirname(__FILE__) + '/../db/database.yml' ActiveRecord::Base.establish_connection(config.acts_as_account.to_h) require 'database_cleaner' require 'database_cleaner/cucumber' DatabaseCleaner.strategy = :transaction Dir[File.dirname(__FILE__) + '/../step_definitions/*.rb'].each { |file| require file } require File.dirname(__FILE__) + '/user' require File.dirname(__FILE__) + '/abstract_user' require File.dirname(__FILE__) + '/inheriting_user' require File.dirname(__FILE__) + '/cheque' After do ActsAsAccount::Journal.clear_current end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts_as_account-3.2.2 | features/support/env.rb |
acts_as_account-3.2.1 | features/support/env.rb |
acts_as_account-3.2.0 | features/support/env.rb |