spec/rake/funnel/support/template_engine_spec.rb in rake-funnel-0.21.0 vs spec/rake/funnel/support/template_engine_spec.rb in rake-funnel-0.21.1

- old
+ new

@@ -15,22 +15,22 @@ expect(described_class.render('<%= 42 %>')).to eq('42') end it 'should omit newlines for pure ruby lines' do # rubocop:disable Layout/IndentHeredoc - template = <<-EOF + template = <<-TEMPLATE <%= 42 %> - EOF + TEMPLATE # rubocop:enable Layout/IndentHeredoc expect(described_class.render(template)).to eq('42') end it 'should not omit newlines for mixed ruby lines' do # rubocop:disable Layout/IndentHeredoc - template = <<-EOF + template = <<-TEMPLATE 12 <%= 34 %> 56 - EOF + TEMPLATE # rubocop:enable Layout/IndentHeredoc expect(described_class.render(template)).to eq("12 34 56\n") end