summaryrefslogtreecommitdiff
path: root/qa/spec/scenario/test/integration/mattermost_spec.rb
blob: 59caf2ba2cdb456f744f74f9866ea668b16fee01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

describe QA::Scenario::Test::Integration::Mattermost do
  context '#perform' do
    it_behaves_like 'a QA scenario class' do
      let(:args) { %w[gitlab_address mattermost_address] }
      let(:tags) { [:mattermost] }
      let(:options) { ['path1']}

      it 'requires a GitHub access token' do
        subject.perform(*args)

        expect(attributes).to have_received(:define)
          .with(:mattermost_address, 'mattermost_address')
      end
    end
  end
end