Commit 9f7c4c70 authored by Rémy Coutable's avatar Rémy Coutable

[EE] Reduce the diff with CE in spec/helpers/appearances_helper_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 618c0a3d
......@@ -65,12 +65,10 @@ describe AppearancesHelper do
end
describe '#brand_title' do
it 'returns the default CE title when no appearance is present' do
allow(helper)
.to receive(:current_appearance)
.and_return(nil)
it 'returns the default title when no appearance is present' do
allow(helper).to receive(:current_appearance).and_return(nil)
expect(helper.brand_title).to eq('GitLab Enterprise Edition')
expect(helper.brand_title).to eq(helper.default_brand_title)
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