mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
18 lines
310 B
Ruby
18 lines
310 B
Ruby
$: << File.join(File.dirname(__FILE__), '..', 'lib')
|
|
$: << File.join(File.dirname(__FILE__))
|
|
|
|
require 'rubygems'
|
|
|
|
require 'activerecord'
|
|
|
|
require 'spec'
|
|
require 'spec/autorun'
|
|
require 'rr'
|
|
|
|
require 'models'
|
|
|
|
require 'factory_girl'
|
|
|
|
Spec::Runner.configure do |config|
|
|
config.mock_with RR::Adapters::Rspec
|
|
end
|