summaryrefslogtreecommitdiff
path: root/qa/qa/page/admin/settings/general.rb
blob: 93b290f7e0348c758fe83d72fbf8f00b707751d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# frozen_string_literal: true

module QA
  module Page
    module Admin
      module Settings
        class General < Page::Base
          include QA::Page::Settings::Common

          view 'app/views/admin/application_settings/show.html.haml' do
            element :account_and_limit_settings
          end

          def expand_account_and_limit(&block)
            expand_section(:account_and_limit_settings) do
              Component::AccountAndLimit.perform(&block)
            end
          end
        end
      end
    end
  end
end