spec/rake/funnel/support/version_info_spec.rb in rake-funnel-0.21.0 vs spec/rake/funnel/support/version_info_spec.rb in rake-funnel-0.21.1
- old
+ new
@@ -304,13 +304,13 @@
describe '#read_version_from' do
let(:file) { 'file with version info' }
let(:contents) do
# rubocop:disable Layout/IndentHeredoc
- <<-EOF
+ <<-CONTENTS
first line with expected version number
other crap
- EOF
+ CONTENTS
# rubocop:enable Layout/IndentHeredoc
end
it 'should read the first line with leading and trailing whitespace removed' do
Dir.mktmpdir do |tmp|