spec/components_spec.rb in inky-rb-1.3.6.2 vs spec/components_spec.rb in inky-rb-1.3.6.3

- old
+ new

@@ -353,11 +353,11 @@ end end RSpec.describe "raw" do it 'creates a wrapper that ignores anything inside' do - input = "<body><raw><<LCG Program\TG LCG Coupon Code Default='246996'>></raw></body>" - expected = "<?xml version=\"1.0\"?>\n<body><<LCG ProgramTG LCG Coupon Code Default='246996'>></body>\n" + input = "<body><raw><<LCG ProgramTG LCG Coupon Code Default='246996'>></raw></body>" + expected = "<body><<LCG ProgramTG LCG Coupon Code Default='246996'>></body>\n" # Can't do vanilla compare because the second will fail to parse inky = Inky::Core.new output = inky.release_the_kraken(input) expect(output).to eql(expected)