Commit 8d85887c authored by Shinya Maeda's avatar Shinya Maeda

Check if any master exists

parent 40e89401
......@@ -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
......
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