summaryrefslogtreecommitdiff
path: root/qa/qa/page/admin/settings/main.rb
blob: e7c1220c967769c0862a27d77fc2e1df1d1d8041 (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 Admin
      module Settings
        class Main < Page::Base
          include QA::Page::Settings::Common

          view 'app/views/admin/application_settings/show.html.haml' do
            element :advanced_settings_section, 'Repository storage'
          end

          def expand_repository_storage(&block)
            expand_section('Repository storage') do
              RepositoryStorage.perform(&block)
            end
          end
        end
      end
    end
  end
end