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

- old
+ new

@@ -299,11 +299,10 @@ end it 'creates a spacer element for small and large screens with correct sizes' do input = '<spacer size-sm="10" size-lg="20"></spacer>' expected = <<-HTML - <span> <table class="spacer hide-for-large"> <tbody> <tr> <td height="10px" style="font-size:10px;line-height:10px;">&#xA0;</td> </tr> @@ -314,11 +313,10 @@ <tr> <td height="20px" style="font-size:20px;line-height:20px;">&#xA0;</td> </tr> </tbody> </table> - </span> HTML compare(input, expected) end @@ -354,10 +352,10 @@ end RSpec.describe "raw" do it 'creates a wrapper that ignores anything inside' do input = "<body><raw><<LCG ProgramTG LCG Coupon Code Default='246996'>></raw></body>" - expected = "<body><<LCG ProgramTG LCG Coupon Code Default='246996'>></body>\n" + expected = "<body><<LCG ProgramTG LCG Coupon Code Default='246996'>></body>" # 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)