Commit bbe3dfc3 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch...

Merge branch '326234-flaky-spec-services-packages-rubygems-create_gemspec_service_spec-rb-17' into 'master'

Resolve "Flaky spec/services/packages/rubygems/create_gemspec_service_spec.rb:17"

See merge request gitlab-org/gitlab!57744
parents 9037df8f 3fbcba73
...@@ -4,10 +4,10 @@ require 'spec_helper' ...@@ -4,10 +4,10 @@ require 'spec_helper'
RSpec.describe Packages::Rubygems::CreateGemspecService do RSpec.describe Packages::Rubygems::CreateGemspecService do
include RubygemsHelpers include RubygemsHelpers
let_it_be(:package) { create(:rubygems_package) }
let_it_be(:package_file) { create(:package_file, :gem) } let_it_be(:package_file) { create(:package_file, :gem) }
let_it_be(:gem) { gem_from_file(package_file.file) } let_it_be(:gem) { gem_from_file(package_file.file) }
let_it_be(:gemspec) { gem.spec } let_it_be(:gemspec) { gem.spec }
let_it_be(:package) { package_file.package }
let(:service) { described_class.new(package, gemspec) } let(:service) { described_class.new(package, gemspec) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment