# frozen_string_literal: true require 'spec_helper' RSpec.describe AutoHtml::HtmlEscape do it 'escapes html tags' do result = subject.call('') expect(result).to eq '<script>alert(0)</script>' end end