summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2017-05-24 13:25:12 +0300
committerSean McGivern <sean@gitlab.com>2017-12-11 10:49:23 +0000
commit43442be4e594113913206c0739c031189ce5b70d (patch)
tree07d049ab20aa624d80d8ae413cbef4c7bb67aa83 /features
parentb1aa91fbacda5987cfac7103308eb7bd0589b720 (diff)
downloadgitlab-ce-43442be4e594113913206c0739c031189ce5b70d.tar.gz
Fix specs after removing assignee_id field
Diffstat (limited to 'features')
-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