about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-27 22:13:49 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-27 15:13:49 +0200
commitbb96ba13cf78c0bee1919c32e61bf0644c89a209 (patch)
tree172a4bd0a097c7772050fd40dfe2a83207d9a12c /spec/helpers
parent5bf4838e2f77430a0f3f72a6d9eb431930a03abd (diff)
Fallback to site_hostname when site_title is empty (#4394)
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/instance_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/instance_helper_spec.rb b/spec/helpers/instance_helper_spec.rb
index c3d28544f..bc5950d91 100644
--- a/spec/helpers/instance_helper_spec.rb
+++ b/spec/helpers/instance_helper_spec.rb
@@ -19,7 +19,7 @@ describe InstanceHelper do
     it 'returns empty string when Setting.site_title is nil' do
       Setting.site_title = nil
 
-      expect(helper.site_title).to eq ''
+      expect(helper.site_title).to eq 'cb6e6126.ngrok.io'
     end
   end