diff options
Diffstat (limited to 'qa/spec/scenario/test/integration/mattermost_spec.rb')
-rw-r--r-- | qa/spec/scenario/test/integration/mattermost_spec.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qa/spec/scenario/test/integration/mattermost_spec.rb b/qa/spec/scenario/test/integration/mattermost_spec.rb new file mode 100644 index 00000000000..59caf2ba2cd --- /dev/null +++ b/qa/spec/scenario/test/integration/mattermost_spec.rb @@ -0,0 +1,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 |