summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-03-28 10:58:53 +0100
committerRémy Coutable <remy@rymai.me>2019-03-28 18:02:41 +0100
commitcf07f9fd006a3ecec1ea8e2275cf07e35fcf7540 (patch)
treeff8f2103855801cf8513993bba797e3b94e5caa4
parent13230d18d99d4585248619e4bde34b17b5a8b404 (diff)
downloadgitlab-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>
-rw-r--r--spec/helpers/appearances_helper_spec.rb8
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