summaryrefslogtreecommitdiff
path: root/features/step_definitions/messages_steps.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-12-09 05:45:47 -0800
committerazul <azul@riseup.net>2017-12-09 05:45:47 -0800
commit89b879a3e5ee27bfc90751dcd02aa2213262cc5f (patch)
treede610d5ef7146c073b7129a20762838d78aeca03 /features/step_definitions/messages_steps.rb
parent90c3fc431133cf18d83afd8e394e45c0bd5f63ac (diff)
parent7120117687e2e6078d7e94ddb9e8b93e8ad5f2e3 (diff)
Merge branch 'upgrade/gemfile' into 'master'
Upgrade/gemfile See merge request leap/webapp!55
Diffstat (limited to 'features/step_definitions/messages_steps.rb')
-rw-r--r--features/step_definitions/messages_steps.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/step_definitions/messages_steps.rb b/features/step_definitions/messages_steps.rb
index 30bc7c3..89d0196 100644
--- a/features/step_definitions/messages_steps.rb
+++ b/features/step_definitions/messages_steps.rb
@@ -1,5 +1,5 @@
Given /^there is a message for me$/ do
- @message = FactoryGirl.create :message, user_ids_to_show: [@user.id]
+ @message = FactoryBot.create :message, user_ids_to_show: [@user.id]
end
Given /^there is a message for me with:$/ do |options|
@@ -8,7 +8,7 @@ Given /^there is a message for me with:$/ do |options|
if old_message = Message.find(attributes['id'])
old_message.destroy
end
- @message = FactoryGirl.create :message, attributes
+ @message = FactoryBot.create :message, attributes
end
Given(/^that message is marked as read$/) do