Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/integrations/discord_spec.rb')
-rw-r--r--spec/models/integrations/discord_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/models/integrations/discord_spec.rb b/spec/models/integrations/discord_spec.rb
index 7ab7308ac1c..89c4dcd7e0e 100644
--- a/spec/models/integrations/discord_spec.rb
+++ b/spec/models/integrations/discord_spec.rb
@@ -3,7 +3,7 @@
require "spec_helper"
RSpec.describe Integrations::Discord, feature_category: :integrations do
- it_behaves_like "chat integration", "Discord notifications" do
+ it_behaves_like "chat integration", "Discord notifications", supports_deployments: true do
let(:client) { Discordrb::Webhooks::Client }
let(:client_arguments) { { url: webhook_url } }
let(:payload) do
@@ -18,6 +18,8 @@ RSpec.describe Integrations::Discord, feature_category: :integrations do
]
}
end
+
+ it_behaves_like 'supports group mentions', :discord_integration
end
describe 'validations' do
@@ -77,7 +79,7 @@ RSpec.describe Integrations::Discord, feature_category: :integrations do
icon_url: start_with('https://www.gravatar.com/avatar/'),
name: user.name
),
- color: 16543014,
+ color: 3359829,
timestamp: Time.now.utc.iso8601
)
end