about summary refs log tree commit diff
path: root/spec/lib
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-10-29 14:05:25 +0100
committerGitHub <noreply@github.com>2018-10-29 14:05:25 +0100
commitb40ea6d1d44a5f43ecf81e0690a79a7eff34204b (patch)
tree865bd48a2ab198160752b2d63c46d52bdcda7253 /spec/lib
parent32f950a7a8d3acfed43d76cb21d0fc06a471bafe (diff)
Bump sanitize from 4.6.6 to 5.0.0 (#9140)
Diffstat (limited to 'spec/lib')
-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 ec4a6493d..0c1efe7c3 100644
--- a/spec/lib/formatter_spec.rb
+++ b/spec/lib/formatter_spec.rb
@@ -514,7 +514,7 @@ RSpec.describe Formatter do
     subject { Formatter.instance.sanitize(html, Sanitize::Config::MASTODON_STRICT) }
 
     it 'sanitizes' do
-      is_expected.to eq 'alert("Hello")'
+      is_expected.to eq ''
     end
   end
 end