diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-17 15:10:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-17 15:10:53 +0300 |
commit | 2724004cd7b8fa9d179c926c62f2fd7be63c2d81 (patch) | |
tree | 9915474bdea07e9748e3b940de07e899fb5f641c /spec/factories | |
parent | f665874e9ee6c28d5098248852f07ae7469d8b2b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/project_feature_usage.rb | 4 | ||||
-rw-r--r-- | spec/factories/projects.rb | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/spec/factories/project_feature_usage.rb b/spec/factories/project_feature_usage.rb index 8265ea04392..eb9605d08d6 100644 --- a/spec/factories/project_feature_usage.rb +++ b/spec/factories/project_feature_usage.rb @@ -4,10 +4,6 @@ FactoryBot.define do factory :project_feature_usage do project - trait :dvcs_cloud do - jira_dvcs_cloud_last_sync_at { Time.current } - end - trait :dvcs_server do jira_dvcs_server_last_sync_at { Time.current } end diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index 1e3ade779af..a9c3285356a 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -177,12 +177,6 @@ FactoryBot.define do import_status { :canceled } end - trait :jira_dvcs_cloud do - before(:create) do |project| - create(:project_feature_usage, :dvcs_cloud, project: project) - end - end - trait :jira_dvcs_server do before(:create) do |project| create(:project_feature_usage, :dvcs_server, project: project) |