about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-10-29 21:29:15 +0100
committerGitHub <noreply@github.com>2018-10-29 21:29:15 +0100
commit88659eda241d3e22acb33db151ea33c13e37911e (patch)
treefb6c4ec71e36bcc956c4d43c1257b4b73ab8b111 /spec
parent7f22ed0fc912ffbd94e0df4e0d40750dae542b97 (diff)
parentee5132a00eee3b984e1448d9ec2c352633a51db4 (diff)
Merge pull request #798 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
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 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