Permalink
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 308 Bytes
require "rspec/core"
require "factory_girl/syntax/methods"
RSpec.configure do |config|
config.include FactoryGirl::Preload::Helpers
config.before(:suite) do
FactoryGirl::Preload.clean
FactoryGirl::Preload.run
end
config.before(:each) do
FactoryGirl::Preload.reload_factories
end
end