diff options
Diffstat (limited to 'spec/migrations/20220307192610_remove_duplicate_project_tag_releases_spec.rb')
-rw-r--r-- | spec/migrations/20220307192610_remove_duplicate_project_tag_releases_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/migrations/20220307192610_remove_duplicate_project_tag_releases_spec.rb b/spec/migrations/20220307192610_remove_duplicate_project_tag_releases_spec.rb index 3bdd6e5fab9..98e2ba4816b 100644 --- a/spec/migrations/20220307192610_remove_duplicate_project_tag_releases_spec.rb +++ b/spec/migrations/20220307192610_remove_duplicate_project_tag_releases_spec.rb @@ -14,9 +14,7 @@ RSpec.describe RemoveDuplicateProjectTagReleases, feature_category: :release_orc let(:dup_releases) do Array.new(4).fill do |i| - rel = releases.new(project_id: project.id, - tag: "duplicate tag", - released_at: (DateTime.now + i.days)) + rel = releases.new(project_id: project.id, tag: "duplicate tag", released_at: (DateTime.now + i.days)) rel.save!(validate: false) rel end |