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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-04 06:10:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-04 06:10:08 +0300
commit777572d30e059848bb60ad34e5a997c248cf5454 (patch)
tree9135003e30c14144d861c20ec4be677d01ca90aa /spec/factories/integrations.rb
parentc9ebdf468d0ffc669b2ac9c388730d6c3f2741a2 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/integrations.rb')
-rw-r--r--spec/factories/integrations.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb
index 71492a6faf6..c47c3791255 100644
--- a/spec/factories/integrations.rb
+++ b/spec/factories/integrations.rb
@@ -188,13 +188,13 @@ FactoryBot.define do
create_data { false }
after(:build) do
- Integrations::IssueTracker.skip_callback(:validation, :before, :handle_properties)
+ Integrations::BaseIssueTracker.skip_callback(:validation, :before, :handle_properties)
end
to_create { |instance| instance.save!(validate: false) }
after(:create) do
- Integrations::IssueTracker.set_callback(:validation, :before, :handle_properties)
+ Integrations::BaseIssueTracker.set_callback(:validation, :before, :handle_properties)
end
end