summaryrefslogtreecommitdiff
path: root/qa/qa/page/admin/settings/main.rb
blob: 73034ffe0d8f210f2778392aac87f1dca4c42e48 (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 :terms_settings
          end

          def expand_repository_storage(&block)
            expand_section(:terms_settings) do
              RepositoryStorage.perform(&block)
            end
          end
        end
      end
    end
  end
end