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.include DeclarationMatchers
|
||||||
|
|
||||||
config.after do
|
config.after do
|
||||||
FactoryGirl.factories.clear
|
FactoryGirl.reload
|
||||||
FactoryGirl.sequences.clear
|
|
||||||
FactoryGirl.traits.clear
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue