diff options
| author | Rémy Coutable <remy@rymai.me> | 2019-03-28 10:58:53 +0100 |
|---|---|---|
| committer | Rémy Coutable <remy@rymai.me> | 2019-03-28 18:02:41 +0100 |
| commit | cf07f9fd006a3ecec1ea8e2275cf07e35fcf7540 (patch) | |
| tree | ff8f2103855801cf8513993bba797e3b94e5caa4 /spec/helpers | |
| parent | 13230d18d99d4585248619e4bde34b17b5a8b404 (diff) | |
| download | gitlab-ce-cf07f9fd006a3ecec1ea8e2275cf07e35fcf7540.tar.gz | |
[CE] Reduce the diff with EE in spec/helpers/appearances_helper_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/helpers')
| -rw-r--r-- | spec/helpers/appearances_helper_spec.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/spec/helpers/appearances_helper_spec.rb b/spec/helpers/appearances_helper_spec.rb index 8d717b968dd..a3511e078ce 100644 --- a/spec/helpers/appearances_helper_spec.rb +++ b/spec/helpers/appearances_helper_spec.rb @@ -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 Community Edition') + expect(helper.brand_title).to eq(helper.default_brand_title) end end end |
