Skip to content
代码片段 群组 项目
未验证 提交 7a01dbd1 编辑于 作者: Jonas Larsen's avatar Jonas Larsen 提交者: GitLab
浏览文件

Merge branch 'fix/layout_spec_apple-touch-icon' into 'master'

Fix layout head spec for apple-touch-icon

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152765



Merged-by: default avatarJonas Larsen <jlarsen@gitlab.com>
Approved-by: default avatarIan Anderson <ianderson@gitlab.com>
Approved-by: default avatarJonas Larsen <jlarsen@gitlab.com>
Reviewed-by: default avatarIan Anderson <ianderson@gitlab.com>
Co-authored-by: default avatarRoger Meier <r.meier@siemens.com>
No related branches found
No related tags found
无相关合并请求
......@@ -63,8 +63,6 @@
end
context 'for apple touch icon' do
let_it_be(:appearance) { build_stubbed(:appearance, :with_pwa_icon) }
context 'if no pwa icon is defined' do
it 'link to the default icon' do
render
......@@ -76,11 +74,11 @@
end
context 'if pwa icon is defined' do
before do
allow(view).to receive(:current_appearance).and_return(appearance)
end
# rubocop:disable RSpec/FactoryBot/AvoidCreate -- will not work with build_stubbed
let_it_be(:appearance) { create(:appearance, :with_pwa_icon) }
# rubocop:enable RSpec/FactoryBot/AvoidCreate
it 'link to the pwa icons', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/457108' do
it 'link to the pwa icons' do
render
expect(rendered).to include(
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册