# Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
require 'rails_helper'
RSpec.describe HtmlSanitizer::Cleanup do
describe('#sanitize') do
it 'cleans up string' do
input = '
asd
'
target = '
asd
'
expect(described_class.new.sanitize(input)).to eq target
end
end
end