require 'inline_svg/transform_pipeline'
describe InlineSvg::TransformPipeline::Transformations::IdAttribute do
it "adds an id attribute to a SVG document" do
document = Nokogiri::XML::Document.parse('')
transformation = InlineSvg::TransformPipeline::Transformations::IdAttribute.create_with_value("some-id")
expect(transformation.transform(document).to_html).to eq(
"\n"
)
end
end