cleanup feature helper

This commit is contained in:
Paul Chavard 2020-08-27 19:57:36 +02:00
parent 0a70291b90
commit 36668403b6

View file

@ -12,11 +12,6 @@ module FeatureHelpers
login_as instructeur, scope: :instructeur
end
def create_dossier
dossier = FactoryBot.create(:dossier)
dossier
end
def sign_in_with(email, password, sign_in_by_link = false)
fill_in :user_email, with: email
fill_in :user_password, with: password