diff options
-rw-r--r-- | qa/qa.rb | 2 | ||||
-rw-r--r-- | qa/qa/page/project/settings/deploy_keys.rb (renamed from qa/qa/page/project/settings/deploy_key.rb) | 2 | ||||
-rw-r--r-- | qa/qa/specs/features/project/add_deploy_key_spec.rb | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -89,7 +89,7 @@ module QA module Settings autoload :Repository, 'qa/page/project/settings/repository' - autoload :DeployKey, 'qa/page/project/settings/deploy_key' + autoload :DeployKeys, 'qa/page/project/settings/deploy_keys' end end diff --git a/qa/qa/page/project/settings/deploy_key.rb b/qa/qa/page/project/settings/deploy_keys.rb index 27a6c26efd5..a8aa571f1f2 100644 --- a/qa/qa/page/project/settings/deploy_key.rb +++ b/qa/qa/page/project/settings/deploy_keys.rb @@ -2,7 +2,7 @@ module QA module Page module Project module Settings - class DeployKey < Repository + class DeployKeys < Repository def initialize super 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 b549a710fd0..8463c29ea90 100644 --- a/qa/qa/specs/features/project/add_deploy_key_spec.rb +++ b/qa/qa/specs/features/project/add_deploy_key_spec.rb @@ -18,14 +18,14 @@ module QA given(:deploy_key_data) { Runtime::User.ssh_key } scenario 'user adds a deploy key' do - Page::Project::Settings::DeployKey.perform do |deploy_key| + 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) deploy_key.add_key end - Page::Project::Settings::DeployKey.perform do |deploy_key| + Page::Project::Settings::DeployKeys.perform do |deploy_key| expect(deploy_key).to have_key_title(deploy_key_title) end end |