diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-07-19 21:00:40 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-07-19 21:00:40 +0900 |
commit | d88523ca88420354f61bd36f533c62a6ca474423 (patch) | |
tree | 25fc72bc9d4ed15dd83a075dfddf6502deffd530 | |
parent | d9beb10ede5e4e8abe388fadbd6412640293917a (diff) | |
download | gitlab-ce-d88523ca88420354f61bd36f533c62a6ca474423.tar.gz |
Revert unnecessary change
-rw-r--r-- | spec/models/ci/build_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index 7c3ddab1751..ee923374480 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -861,7 +861,7 @@ describe Ci::Build do let!(:build) { create(:ci_build, :success, :artifacts) } before do - build.job_artifacts_metadata.destroy + build.remove_artifacts_metadata! end describe '#erase' do @@ -930,7 +930,7 @@ describe Ci::Build do let!(:build) { create(:ci_build, :success, :legacy_artifacts) } before do - build.remove_legacy_artifacts_metadata! + build.remove_artifacts_metadata! end describe '#erase' do |