summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/settings/common.rb
blob: f3b217677f2febeaacd37ee7ca224643a799544f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module QA
  module Page
    module Project
      module Settings
        module Common
          include QA::Page::Settings::Common

          def self.included(base)
            base.class_eval do
              view 'app/views/projects/edit.html.haml' do
                element :advanced_settings_expand, "= expanded ? 'Collapse' : 'Expand'" # rubocop:disable QA/ElementWithPattern
              end
            end
          end
        end
      end
    end
  end
end