Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 444 Bytes
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'rubygems'
require 'active_record'
require 'classy_enum'
I18n.enforce_available_locales = true
ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:")
RSpec.configure do |config|
config.color_enabled = true
config.filter_run_excluding rails_3: :broken if ActiveRecord::VERSION::MAJOR < 4
end