mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
11 lines
222 B
Ruby
11 lines
222 B
Ruby
require 'active_record'
|
|
|
|
ActiveRecord::Base.establish_connection(
|
|
:adapter => 'sqlite3',
|
|
:database => File.join(File.dirname(__FILE__), 'test.db')
|
|
)
|
|
|
|
RSpec.configure do |config|
|
|
config.include DefinesConstants
|
|
end
|
|
|