diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-12-28 20:58:54 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-12-28 20:58:54 +0800 |
commit | 45d0be8371d9e09d9a950841cdf4a58f3e4de6e9 (patch) | |
tree | caa56b4bf94056b17ae1f9442bcbfe6ca8dd9a03 /qa | |
parent | 2078cb4e84bcc65774fc523d82a3f682248aae6f (diff) | |
download | gitlab-ce-45d0be8371d9e09d9a950841cdf4a58f3e4de6e9.tar.gz |
Update descriptions and names based on feedback
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/project/add_deploy_key_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qa/qa/specs/features/project/add_deploy_key_spec.rb b/qa/qa/specs/features/project/add_deploy_key_spec.rb index 8463c29ea90..1d1f1c580d1 100644 --- a/qa/qa/specs/features/project/add_deploy_key_spec.rb +++ b/qa/qa/specs/features/project/add_deploy_key_spec.rb @@ -1,5 +1,5 @@ module QA - feature 'add deploy key', :core do + feature 'deploy keys support', :core do before do Runtime::Browser.visit(:gitlab, Page::Main::Login) Page::Main::Login.act { sign_in_using_credentials } @@ -18,15 +18,15 @@ module QA given(:deploy_key_data) { Runtime::User.ssh_key } scenario 'user adds a deploy key' do - Page::Project::Settings::DeployKeys.perform do |deploy_key| - deploy_key.fill_new_deploy_key_title(deploy_key_title) - deploy_key.fill_new_deploy_key_key(deploy_key_data) + Page::Project::Settings::DeployKeys.perform do |page| + page.fill_new_deploy_key_title(deploy_key_title) + page.fill_new_deploy_key_key(deploy_key_data) - deploy_key.add_key + page.add_key end - Page::Project::Settings::DeployKeys.perform do |deploy_key| - expect(deploy_key).to have_key_title(deploy_key_title) + Page::Project::Settings::DeployKeys.perform do |page| + expect(page).to have_key_title(deploy_key_title) end end end |