about summary refs log tree commit diff
path: root/spec/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-02-09 12:32:33 +0100
committerThibaut Girka <thib@sitedethib.com>2020-02-09 12:32:33 +0100
commit432033743c409356bd11e0d7d96f14a3cc82fb77 (patch)
tree9fcb99dab28b01e0f85fbe7f27f406f92a031903 /spec/lib
parent5f61065e74bc381e154676640398cee6a1bd82ec (diff)
Fix tests
Well, kinda, it's actually a bug from glitch-soc, but we will have to address it separately.
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/sanitize_config_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/sanitize_config_spec.rb b/spec/lib/sanitize_config_spec.rb
index 0a812e872..50558a0d8 100644
--- a/spec/lib/sanitize_config_spec.rb
+++ b/spec/lib/sanitize_config_spec.rb
@@ -28,7 +28,7 @@ describe Sanitize::Config do
     end
 
     it 'keeps a with href' do
-      expect(Sanitize.fragment('<a href="http://example.com">Test</a>', subject)).to eq '<a href="http://example.com" rel="nofollow noopener noreferrer" target="_blank">Test</a>'
+      expect(Sanitize.fragment('<a href="http://example.com">Test</a>', subject)).to eq '<a href="http://example.com" rel="nofollow noopener tag noreferrer" target="_blank">Test</a>'
     end
   end
 end