about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-13 16:49:52 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-13 16:51:34 +0200
commit33f7e1cf996b9f87784cb1218885d9acbc718944 (patch)
treefad5ea67649e709d96e8267e6d767a598ba00df0 /spec
parent157f03f8bdbca1b34895099b38e5f2a1aeb1bd23 (diff)
Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
to sign in page after sign up instead of root path which redirects to /about
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/formatter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/formatter_spec.rb b/spec/lib/formatter_spec.rb
index 36c4af748..927211938 100644
--- a/spec/lib/formatter_spec.rb
+++ b/spec/lib/formatter_spec.rb
@@ -17,7 +17,7 @@ RSpec.describe Formatter do
     end
 
     it 'contains a link' do
-      expect(subject).to match('<a rel="nofollow noopener" href="http://google.com">http://google.com</a>')
+      expect(subject).to match('<a rel="nofollow noopener" href="http://google.com">google.com</a>')
     end
   end