summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/repository.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/settings/repository.rb')
-rw-r--r--qa/qa/page/project/settings/repository.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/qa/qa/page/project/settings/repository.rb b/qa/qa/page/project/settings/repository.rb
index 97dfc6497a4..8810b971fda 100644
--- a/qa/qa/page/project/settings/repository.rb
+++ b/qa/qa/page/project/settings/repository.rb
@@ -19,12 +19,22 @@ module QA
element :deploy_tokens_settings
end
+ view 'app/views/projects/deploy_keys/_index.html.haml' do
+ element :deploy_keys_settings
+ end
+
def expand_deploy_tokens(&block)
expand_section(:deploy_tokens_settings) do
Settings::DeployTokens.perform(&block)
end
end
+ def expand_deploy_keys(&block)
+ expand_section(:deploy_keys_settings) do
+ Settings::DeployKeys.perform(&block)
+ end
+ end
+
def expand_protected_branches(&block)
expand_section(:protected_branches_settings) do
ProtectedBranches.perform(&block)