diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-07 17:27:49 +0300 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-02 20:11:51 +0300 |
commit | 8d85887c3879ec162c8658b37f894a65edc27104 (patch) | |
tree | 03820cec369c78ad8fae79f0e74ac8c08f8c7fe1 /spec/finders | |
parent | 40e8940195a05bf2e3802550a571f889853c0200 (diff) |
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 |