Sha256: 3b1e7e492a264bba4132eab488d5354e55c1240067f12eebcb7612e4ec32de09

Contents?: true

Size: 620 Bytes

Versions: 3

Compression:

Stored size: 620 Bytes

Contents

require File.dirname(__FILE__) + '/../../lib/acts_as_account'
ActiveRecord::Base.establish_connection(YAML.load_file(File.dirname(__FILE__) + '/../../db/database.yml')['acts_as_account'])

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.1.2 features/support/env.rb
acts_as_account-3.1.1 features/support/env.rb
acts_as_account-3.1.0 features/support/env.rb