[CE] Reduce the diff with EE in spec/helpers/appearances_helper_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
13230d18d9
commit
cf07f9fd00
1 changed files with 3 additions and 5 deletions
|
@ -65,12 +65,10 @@ describe AppearancesHelper do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe '#brand_title' do
|
describe '#brand_title' do
|
||||||
it 'returns the default CE title when no appearance is present' do
|
it 'returns the default title when no appearance is present' do
|
||||||
allow(helper)
|
allow(helper).to receive(:current_appearance).and_return(nil)
|
||||||
.to receive(:current_appearance)
|
|
||||||
.and_return(nil)
|
|
||||||
|
|
||||||
expect(helper.brand_title).to eq('GitLab Community Edition')
|
expect(helper.brand_title).to eq(helper.default_brand_title)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue