summaryrefslogtreecommitdiff
path: root/spec/finders
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-07 23:27:49 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-03 02:11:51 +0900
commit8d85887c3879ec162c8658b37f894a65edc27104 (patch)
tree03820cec369c78ad8fae79f0e74ac8c08f8c7fe1 /spec/finders
parent40e8940195a05bf2e3802550a571f889853c0200 (diff)
downloadgitlab-ce-8d85887c3879ec162c8658b37f894a65edc27104.tar.gz
Check if any master exists
Diffstat (limited to 'spec/finders')
-rw-r--r--spec/finders/pipelines_finder_spec.rb2
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