1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/spec/support/factory_bot.rb

12 lines
241 B
Ruby
Raw Normal View History

2018-11-22 15:26:40 -05:00
# frozen_string_literal: true
RSpec.configure do |config|
config.include FactoryBot::Syntax::Methods
2018-11-22 15:27:51 -05:00
config.before :suite do
ActiveRecord::Base.transaction do
FactoryBot.lint strategy: :create, traits: true
end
2018-11-22 15:27:51 -05:00
end
2018-11-22 15:26:40 -05:00
end