diff options
Diffstat (limited to 'spec/factories/integrations.rb')
-rw-r--r-- | spec/factories/integrations.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/factories/integrations.rb b/spec/factories/integrations.rb index cb1c94c25c1..63f85c04ac7 100644 --- a/spec/factories/integrations.rb +++ b/spec/factories/integrations.rb @@ -166,26 +166,6 @@ FactoryBot.define do external_wiki_url { 'http://external-wiki-url.com' } end - factory :open_project_service, class: 'Integrations::OpenProject' do - project - active { true } - - transient do - url { 'http://openproject.example.com' } - api_url { 'http://openproject.example.com/issues/:id' } - token { 'supersecret' } - closed_status_id { '15' } - project_identifier_code { 'PRJ-1' } - end - - after(:build) do |integration, evaluator| - integration.open_project_tracker_data = build(:open_project_tracker_data, - integration: integration, url: evaluator.url, api_url: evaluator.api_url, token: evaluator.token, - closed_status_id: evaluator.closed_status_id, project_identifier_code: evaluator.project_identifier_code - ) - end - end - trait :jira_cloud_service do url { 'https://mysite.atlassian.net' } username { 'jira_user' } |