diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-03-05 04:29:49 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-04 20:29:49 +0100 |
commit | ef44c62d17085e71a807705f25c549553676c5f1 (patch) | |
tree | efe69f62d1f103d547941b66926213f8f9b6ceaa /spec | |
parent | 219aac7800a086a75f3ef36f71955bb8b6ccc2c0 (diff) |
Do not default site_title with site_hostname in InstanceHelper (#6624)
site_title is "Mastodon" by default configuration, and there is no need to default site_title with site_hostname in InstanceHelper.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/instance_helper_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/helpers/instance_helper_spec.rb b/spec/helpers/instance_helper_spec.rb index bc5950d91..c2e26dbed 100644 --- a/spec/helpers/instance_helper_spec.rb +++ b/spec/helpers/instance_helper_spec.rb @@ -15,12 +15,6 @@ describe InstanceHelper do expect(helper.site_title).to eq 'New site title' end - - it 'returns empty string when Setting.site_title is nil' do - Setting.site_title = nil - - expect(helper.site_title).to eq 'cb6e6126.ngrok.io' - end end describe 'site_hostname' do |