BigW Consortium Gitlab

fix CI

parent 42e7e750
......@@ -195,7 +195,7 @@ describe ProjectsHelper do
let(:user) { build_stubbed(:user) }
it 'returns image tag for member avatar' do
allow(helper).to receive(:image_tag).with(nil, {width: 16, class: ["avatar", "avatar-inline", "s16"], alt: ""})
allow(helper).to receive(:image_tag).with(nil, { width: 16, class: ["avatar", "avatar-inline", "s16"], alt: "" })
allow(helper).to receive(:avatar_icon).with(user, 16)
helper.link_to_member_avatar(user)
......
......@@ -489,7 +489,7 @@ describe Ci::CreatePipelineService do
subject do
described_class.new(project, user, ref: ref)
.send(:allowed_to_create?, user)
.send(:allowed_to_create?)
end
context 'when user is a developer' do
......
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