summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/main.rb
blob: 5d743f4c9c840b188aff917262be9347e5cf3874 (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 Main < Page::Base
          include Common

          view 'app/views/projects/edit.html.haml' do
            element :advanced_settings_section, 'Advanced settings'
          end

          def expand_advanced_settings(&block)
            expand_section('Advanced settings') do
              Advanced.perform(&block)
            end
          end
        end
      end
    end
  end
end