diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-01 20:30:42 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:11 +0900 |
commit | eab938d50519a4da272818c1364ceeca82e32982 (patch) | |
tree | 27fa278b70d7d126d9a6879fcbd67bbcbc73078b /spec | |
parent | d8478d166b96b7b40b27b162d6afd170a5c8d763 (diff) | |
download | gitlab-ce-eab938d50519a4da272818c1364ceeca82e32982.tar.gz |
Fix typo
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ci/stage/seed_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/ci/stage/seed_spec.rb b/spec/lib/gitlab/ci/stage/seed_spec.rb index 515e06e38e5..9ecd128faca 100644 --- a/spec/lib/gitlab/ci/stage/seed_spec.rb +++ b/spec/lib/gitlab/ci/stage/seed_spec.rb @@ -33,7 +33,7 @@ describe Gitlab::Ci::Stage::Seed do allow_any_instance_of(Project).to receive(:protected_for?).and_return(true) end - it 'returns unprotected builds' do + it 'returns protected builds' do expect(subject.builds).to all(include(protected: true)) end end diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index cab59db3580..1f965cfbede 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -58,7 +58,7 @@ describe Ci::Build do it { is_expected.not_to include(job) } end - context 'when protected is false' do + context 'when protected is nil' do let!(:job) { create(:ci_build) } before do |