diff options
author | skv <skv-headless@yandex.ru> | 2014-01-19 22:55:59 +0400 |
---|---|---|
committer | skv <skv-headless@yandex.ru> | 2014-01-19 23:39:56 +0400 |
commit | a3f645ef51ec12ce93934b4ddb11313613d8c451 (patch) | |
tree | f30e76940e436049aa83a8c60741bc6c2d9b7f44 /features/steps/group | |
parent | 3fe578a7fdaea8607cf98ffb1878c03fd5ac3649 (diff) |
Remove deprecated finders
Diffstat (limited to 'features/steps/group')
-rw-r--r-- | features/steps/group/group.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb index bcadf21c233..15d7c46c694 100644 --- a/features/steps/group/group.rb +++ b/features/steps/group/group.rb @@ -39,7 +39,7 @@ class Groups < Spinach::FeatureSteps end And 'I select user "John" from list with role "Reporter"' do - user = User.find_by_name("John") + user = User.find_by(name: "John") within ".users-group-form" do select2(user.id, from: "#user_ids", multiple: true) select "Reporter", from: "group_access" |