diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-27 18:09:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-27 18:09:52 +0000 |
commit | 28f1931ae84034333abf651ecde369683697ddaf (patch) | |
tree | 7701b2caa8e0e7edfc2d4dca38855c1c03ed8de3 /spec/models/packages | |
parent | 4c39dd11dcbdab4fdd9424a62320a1fc773c2918 (diff) | |
download | gitlab-ce-28f1931ae84034333abf651ecde369683697ddaf.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/packages')
-rw-r--r-- | spec/models/packages/package_file_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/packages/package_file_spec.rb b/spec/models/packages/package_file_spec.rb index ef09fb037e9..82ac159b9cc 100644 --- a/spec/models/packages/package_file_spec.rb +++ b/spec/models/packages/package_file_spec.rb @@ -61,14 +61,14 @@ RSpec.describe Packages::PackageFile, type: :model do end end - describe '#update_file_metadata callback' do + describe '#update_file_store callback' do let_it_be(:package_file) { build(:package_file, :nuget, size: nil) } subject { package_file.save! } it 'updates metadata columns' do expect(package_file) - .to receive(:update_file_metadata) + .to receive(:update_file_store) .and_call_original # This expectation uses a stub because we can no longer test a change from |