diff options
Diffstat (limited to 'spec/requests/api/generic_packages_spec.rb')
-rw-r--r-- | spec/requests/api/generic_packages_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/generic_packages_spec.rb b/spec/requests/api/generic_packages_spec.rb index 6b3f378a4bc..9e8bfab6468 100644 --- a/spec/requests/api/generic_packages_spec.rb +++ b/spec/requests/api/generic_packages_spec.rb @@ -276,9 +276,9 @@ RSpec.describe API::GenericPackages, feature_category: :package_registry do expect(package.version).to eq('0.0.1') if should_set_build_info - expect(package.original_build_info.pipeline).to eq(ci_build.pipeline) + expect(package.last_build_info.pipeline).to eq(ci_build.pipeline) else - expect(package.original_build_info).to be_nil + expect(package.last_build_info).to be_nil end package_file = package.package_files.last |