summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/test/integration/mattermost.rb
blob: ece6fba75c97b5ee38822e40470b584eea893d0b (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 Scenario
    module Test
      module Integration
        ##
        # Run test suite against any GitLab instance where mattermost is enabled,
        # including staging and on-premises installation.
        #
        class Mattermost < Test::Instance::All
          tags :mattermost

          def perform(address, mattermost, *rspec_options)
            Runtime::Scenario.define(:mattermost_address, mattermost)

            super(address, *rspec_options)
          end
        end
      end
    end
  end
end