diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-07 23:27:49 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-03 02:11:51 +0900 |
commit | 8d85887c3879ec162c8658b37f894a65edc27104 (patch) | |
tree | 03820cec369c78ad8fae79f0e74ac8c08f8c7fe1 /spec/finders | |
parent | 40e8940195a05bf2e3802550a571f889853c0200 (diff) | |
download | gitlab-ce-8d85887c3879ec162c8658b37f894a65edc27104.tar.gz |
Check if any master exists
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/pipelines_finder_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/pipelines_finder_spec.rb b/spec/finders/pipelines_finder_spec.rb index 444ce7e1267..418f95bc115 100644 --- a/spec/finders/pipelines_finder_spec.rb +++ b/spec/finders/pipelines_finder_spec.rb @@ -76,7 +76,7 @@ describe PipelinesFinder do it 'excludes branches' do expect(subject.count).to be 1 expect(subject).to include dummy_pipelines[:tag] - expect(subject.map(&:ref)).not_to all(eq('master')) + expect(subject.map(&:ref)).not_to include('master') end end end |