spec/rake/funnel/extensions/rexml_spec.rb in rake-funnel-0.22.3 vs spec/rake/funnel/extensions/rexml_spec.rb in rake-funnel-0.23.0
- old
+ new
@@ -1,15 +1,15 @@
# frozen_string_literal: true
describe Rake::Funnel::Extensions::REXML::Functions do # rubocop:disable RSpec/FilePath
let(:xml) do
- <<XML
- <editors xmlns="http://example.com">
- <editor id="emacs">EMACS</editor>
- <editor id="vi">VIM</editor>
- <editor id="notepad">Notepad</editor>
- </editors>
-XML
+ <<-XML
+ <editors xmlns="http://example.com">
+ <editor id="emacs">EMACS</editor>
+ <editor id="vi">VIM</editor>
+ <editor id="notepad">Notepad</editor>
+ </editors>
+ XML
end
subject { REXML::Document.new(xml) }
it 'should support lower-case function' do