factory_girl is now factory_bot

This commit is contained in:
gregoirenovel 2018-01-23 17:15:42 +01:00
parent 5eb4f12b48
commit a2f4e8b283
40 changed files with 72 additions and 72 deletions

View file

@ -1,3 +1,3 @@
RSpec.configure do |config|
config.include FactoryGirl::Syntax::Methods
config.include FactoryBot::Syntax::Methods
end

View file

@ -11,7 +11,7 @@ module FeatureHelpers
end
def create_dossier
dossier = FactoryGirl.create(:dossier)
dossier = FactoryBot.create(:dossier)
dossier
end
end