spec/rake/funnel/support/template_engine_spec.rb in rake-funnel-0.20.1 vs spec/rake/funnel/support/template_engine_spec.rb in rake-funnel-0.20.2

- old
+ new

@@ -14,24 +14,24 @@ it 'should support ruby' do expect(described_class.render('<%= 42 %>')).to eq('42') end it 'should omit newlines for pure ruby lines' do - # rubocop:disable Style/IndentHeredoc + # rubocop:disable Layout/IndentHeredoc template = <<-EOF <%= 42 %> EOF - # rubocop:enable Style/IndentHeredoc + # 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 Style/IndentHeredoc + # rubocop:disable Layout/IndentHeredoc template = <<-EOF 12 <%= 34 %> 56 EOF - # rubocop:enable Style/IndentHeredoc + # rubocop:enable Layout/IndentHeredoc expect(described_class.render(template)).to eq("12 34 56\n") end it 'should support @ instead of <%= %>' do