Commit eab938d5 authored by Shinya Maeda's avatar Shinya Maeda

Fix typo

parent d8478d16
...@@ -33,7 +33,7 @@ describe Gitlab::Ci::Stage::Seed do ...@@ -33,7 +33,7 @@ describe Gitlab::Ci::Stage::Seed do
allow_any_instance_of(Project).to receive(:protected_for?).and_return(true) allow_any_instance_of(Project).to receive(:protected_for?).and_return(true)
end end
it 'returns unprotected builds' do it 'returns protected builds' do
expect(subject.builds).to all(include(protected: true)) expect(subject.builds).to all(include(protected: true))
end end
end end
......
...@@ -58,7 +58,7 @@ describe Ci::Build do ...@@ -58,7 +58,7 @@ describe Ci::Build do
it { is_expected.not_to include(job) } it { is_expected.not_to include(job) }
end end
context 'when protected is false' do context 'when protected is nil' do
let!(:job) { create(:ci_build) } let!(:job) { create(:ci_build) }
before do before do
......
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