summaryrefslogtreecommitdiff
path: root/features/steps/groups.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/groups.rb')
-rw-r--r--features/steps/groups.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb
index a2d9a0332e0..753694a5392 100644
--- a/features/steps/groups.rb
+++ b/features/steps/groups.rb
@@ -138,7 +138,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
private
def assigned_to_me(key)
- project.send(key).where(assignee_id: current_user.id)
+ project.send(key).assigned_to(current_user)
end
def project