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