1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/spec/acceptance/acceptance_helper.rb

12 lines
222 B
Ruby
Raw Normal View History

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