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/mattermost_slash_commands_spec.rb')
-rw-r--r--spec/models/integrations/mattermost_slash_commands_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/integrations/mattermost_slash_commands_spec.rb b/spec/models/integrations/mattermost_slash_commands_spec.rb
index b6abe00469b..070adb9ba93 100644
--- a/spec/models/integrations/mattermost_slash_commands_spec.rb
+++ b/spec/models/integrations/mattermost_slash_commands_spec.rb
@@ -6,9 +6,9 @@ RSpec.describe Integrations::MattermostSlashCommands do
it_behaves_like Integrations::BaseSlashCommands
describe 'Mattermost API' do
- let(:project) { create(:project) }
+ let_it_be_with_reload(:project) { create(:project) }
let(:integration) { project.build_mattermost_slash_commands_integration }
- let(:user) { create(:user) }
+ let(:user) { build_stubbed(:user) }
before do
session = ::Mattermost::Session.new(nil)