diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-27 12:14:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-27 12:14:34 +0300 |
commit | 1b9f574b89cb80cdd5af8cba3ad3e7995a4af47d (patch) | |
tree | 2ed338bf9fe544b77421392a9bc7148c695f9003 /spec/models | |
parent | aa04de2d2be785314e563bb1c991f9a804b987e8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/integrations/microsoft_teams_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/models/integrations/microsoft_teams_spec.rb b/spec/models/integrations/microsoft_teams_spec.rb index 89ccc9eaf35..b6de2bb7176 100644 --- a/spec/models/integrations/microsoft_teams_spec.rb +++ b/spec/models/integrations/microsoft_teams_spec.rb @@ -85,6 +85,10 @@ RSpec.describe Integrations::MicrosoftTeams do service.hook_data(issue, 'open') end + before do + project.add_developer(user) + end + it "calls Microsoft Teams API" do chat_integration.execute(issues_sample_data) |