about summary refs log tree commit diff
path: root/spec/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-29 14:09:54 +0100
committerThibaut Girka <thib@sitedethib.com>2018-10-29 14:09:54 +0100
commitf16d66c5c80b46cffbd4903b0620f7a5330639eb (patch)
treeb7b8674431511505d086ca9650858c5e246388d7 /spec/lib
parenta942ad3062285b6b4984fe92f9bd610829f04456 (diff)
parent3fd808ab26e98952378d0ba2f616655c1db10368 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
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