Sha256: 7d86de69929af79d44f0de14ba3dcce818bf2e7658efe77316377d271d5533bd

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

ENV['RAILS_ENV'] = 'test'

require File.expand_path('../dummy/config/environment.rb', __FILE__)

require 'minitest/autorun'
require 'minitest/unit'
require 'minitest/pride'

require 'database_cleaner'

require 'miniskirt'
require 'factories'

require 'recommendable'

DatabaseCleaner.strategy = :transaction
Rails.backtrace_cleaner.remove_silencers!

DatabaseCleaner.start

MiniTest::Unit.after_tests do
  DatabaseCleaner.clean
  Recommendable.redis.flushdb
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
recommendable-2.1.3 test/test_helper.rb