diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-24 18:17:11 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-24 18:17:11 +0300 |
commit | cb9f573818098b2fdc556db867bd9a32f469d471 (patch) | |
tree | 5bd30e4b0dba66925c8454582dd956c68cf8608e /features/steps | |
parent | 4caef63d82143518e6f23ec6183021657d7ed1ae (diff) |
Fix rubocop complain
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/groups.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb index 1d530a25283..5086a9e0b87 100644 --- a/features/steps/groups.rb +++ b/features/steps/groups.rb @@ -325,7 +325,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps def mary_jane_member user = User.find_by(name: "Mary Jane") - member = owned_group.members.where(user_id: user.id).first + owned_group.members.where(user_id: user.id).first end def assigned_to_me(key) |