blob: b675f0e287e63e6a90ddc11d3c4b3077d34debb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
module QA
module Page
module Project
module Settings
class Repository < Page::Base
include Common
view 'app/views/projects/deploy_keys/_index.html.haml' do
element :deploy_keys_settings
end
view 'app/views/projects/protected_branches/_index.html.haml' do
element :protected_branches_settings
end
def expand_deploy_keys(&block)
expand_section(:deploy_keys_settings) do
DeployKeys.perform(&block)
end
end
def expand_protected_branches(&block)
expand_section(:protected_branches_settings) do
ProtectedBranches.perform(&block)
end
end
end
end
end
end
end
|