fix CI

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册