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-05-20 12:10:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-20 12:10:30 +0300
commitb794758ce4c96fa13c4eefdb97f0852641604081 (patch)
treeae33ca92627b7271d503fec0994da4a3ee63bf82 /spec/factories/integrations.rb
parent763dd8a47a4e353119f54de0919e10a4fa1de879 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/integrations.rb')
-rw-r--r--spec/factories/integrations.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb
index 6bd6deb262a..8c3fc31b2ef 100644
--- a/spec/factories/integrations.rb
+++ b/spec/factories/integrations.rb
@@ -6,7 +6,7 @@ FactoryBot.define do
type { 'Integration' }
end
- factory :custom_issue_tracker_service, class: 'CustomIssueTrackerService' do
+ factory :custom_issue_tracker_service, class: 'Integrations::CustomIssueTracker' do
project
active { true }
issue_tracker
@@ -85,25 +85,25 @@ FactoryBot.define do
confluence_url { 'https://example.atlassian.net/wiki' }
end
- factory :bugzilla_service do
+ factory :bugzilla_service, class: 'Integrations::Bugzilla' do
project
active { true }
issue_tracker
end
- factory :redmine_service do
+ factory :redmine_service, class: 'Integrations::Redmine' do
project
active { true }
issue_tracker
end
- factory :youtrack_service do
+ factory :youtrack_service, class: 'Integrations::Youtrack' do
project
active { true }
issue_tracker
end
- factory :ewm_service do
+ factory :ewm_service, class: 'Integrations::Ewm' do
project
active { true }
issue_tracker
@@ -134,7 +134,7 @@ FactoryBot.define do
external_wiki_url { 'http://external-wiki-url.com' }
end
- factory :open_project_service do
+ factory :open_project_service, class: 'Integrations::OpenProject' do
project
active { true }
@@ -182,13 +182,13 @@ FactoryBot.define do
create_data { false }
after(:build) do
- IssueTrackerService.skip_callback(:validation, :before, :handle_properties)
+ Integrations::IssueTracker.skip_callback(:validation, :before, :handle_properties)
end
to_create { |instance| instance.save!(validate: false) }
after(:create) do
- IssueTrackerService.set_callback(:validation, :before, :handle_properties)
+ Integrations::IssueTracker.set_callback(:validation, :before, :handle_properties)
end
end