Commit b7d74401 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix Rubocop offenses in commit status/build specs

parent c4d5b231
......@@ -767,20 +767,18 @@ describe Ci::Build, :models do
end
end
end
context 'when build does not have script or before script' do
end
end
describe '#has_tags?' do
context 'when build has tags' do
subject { create(:ci_build, tag_list: ['tag']) }
it { is_expected.to have_tags }
end
context 'when build does not have tags' do
subject { create(:ci_build, tag_list: []) }
it { is_expected.not_to have_tags }
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