summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/repository.rb
blob: 22362164a1acc5c46970f1bd348eb8627966b88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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_section, 'Deploy Keys'
          end

          def expand_deploy_keys(&block)
            expand_section('Deploy Keys') do
              DeployKeys.perform(&block)
            end
          end
        end
      end
    end
  end
end