summaryrefslogtreecommitdiff
path: root/features/step_definitions/auth_steps.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-12-08 18:27:24 +0100
committerAzul <azul@riseup.net>2017-12-08 21:33:09 +0100
commitd839bed40fb7901ea88395d4ba06e58f4b3cc88a (patch)
tree5939690ac0f0f2226459aa9412a80292515ebae2 /features/step_definitions/auth_steps.rb
parentff8b2635c308d45ec38fd4eed257db7da9b3c4b0 (diff)
upgrade: factory_girl -> factory_bot
Diffstat (limited to 'features/step_definitions/auth_steps.rb')
-rw-r--r--features/step_definitions/auth_steps.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/auth_steps.rb b/features/step_definitions/auth_steps.rb
index 52c92ee..81c5fc5 100644
--- a/features/step_definitions/auth_steps.rb
+++ b/features/step_definitions/auth_steps.rb
@@ -1,7 +1,7 @@
Given /^I authenticated$/ do
@testcode = InviteCode.new
@testcode.save!
- @user = FactoryGirl.create(:user, :invite_code => @testcode.invite_code)
+ @user = FactoryBot.create(:user, :invite_code => @testcode.invite_code)
@my_auth_token = Token.create user_id: @user.id
end