summaryrefslogtreecommitdiff
path: root/features/steps/profile
diff options
context:
space:
mode:
authorskv <skv-headless@yandex.ru>2014-01-19 22:55:59 +0400
committerskv <skv-headless@yandex.ru>2014-01-19 23:39:56 +0400
commita3f645ef51ec12ce93934b4ddb11313613d8c451 (patch)
treef30e76940e436049aa83a8c60741bc6c2d9b7f44 /features/steps/profile
parent3fe578a7fdaea8607cf98ffb1878c03fd5ac3649 (diff)
downloadgitlab-ce-a3f645ef51ec12ce93934b4ddb11313613d8c451.tar.gz
Remove deprecated finders
Diffstat (limited to 'features/steps/profile')
-rw-r--r--features/steps/profile/profile_ssh_keys.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/profile/profile_ssh_keys.rb b/features/steps/profile/profile_ssh_keys.rb
index 65bfc505d85..65ca824bb5b 100644
--- a/features/steps/profile/profile_ssh_keys.rb
+++ b/features/steps/profile/profile_ssh_keys.rb
@@ -18,7 +18,7 @@ class ProfileSshKeys < Spinach::FeatureSteps
end
Then 'I should see new ssh key "Laptop"' do
- key = Key.find_by_title("Laptop")
+ key = Key.find_by(title: "Laptop")
page.should have_content(key.title)
page.should have_content(key.key)
current_path.should == profile_key_path(key)