Rename DeployKey to DeployKeys
This commit is contained in:
parent
7377b97c5f
commit
2078cb4e84
3 changed files with 4 additions and 4 deletions
2
qa/qa.rb
2
qa/qa.rb
|
@ -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
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ module QA
|
|||
module Page
|
||||
module Project
|
||||
module Settings
|
||||
class DeployKey < Repository
|
||||
class DeployKeys < Repository
|
||||
def initialize
|
||||
super
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue