mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Use .reload appropriately in specs
This commit is contained in:
parent
2d19c46337
commit
277922e95f
1 changed files with 1 additions and 3 deletions
|
@ -18,8 +18,6 @@ RSpec.configure do |config|
|
|||
config.include DeclarationMatchers
|
||||
|
||||
config.after do
|
||||
FactoryGirl.factories.clear
|
||||
FactoryGirl.sequences.clear
|
||||
FactoryGirl.traits.clear
|
||||
FactoryGirl.reload
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue