Sha256: cfde2bd9ec5dbd95a4c2ba2c7ffd034452f6590efa8c3f801e990eb1a9c70926

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

require 'test/unit/assertions'

World(Test::Unit::Assertions)

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

#ActiveRecord::Base.logger = Logger.new(STDOUT)

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__) + '/cheque'

After do
  ActsAsAccount::Journal.clear_current
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_account-1.2.0 features/support/env.rb
acts_as_account-1.1.6 features/support/env.rb