Commit 7a664159 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve spec/models/ci/build_spec.rb

parent 269ed8e3
......@@ -263,27 +263,6 @@ describe Ci::Build do
context 'artifacts metadata does not exist' do
before do
build.update(legacy_artifacts_metadata: nil)
<<<<<<< HEAD
end
it { is_expected.to be_falsy }
end
context 'artifacts metadata does exists' do
let(:build) { create(:ci_build, :artifacts) }
it { is_expected.to be_truthy }
end
end
describe '#browsable_artifacts?' do
subject { build.browsable_artifacts? }
context 'artifacts metadata does not exist' do
before do
build.update(legacy_artifacts_metadata: nil)
=======
>>>>>>> upstream/master
end
it { is_expected.to be_falsy }
......
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