spec/rake/funnel/tasks/copy_spec.rb in rake-funnel-0.0.4.pre vs spec/rake/funnel/tasks/copy_spec.rb in rake-funnel-0.0.5.pre

- old
+ new

@@ -89,10 +89,10 @@ it 'should copy files with common path removed' do source .select { |src| !File.directory?(src) } .each do |src| - expect(RakeFileUtils).to have_received(:cp).with(src, File.join(subject.target, no_prefix(src))) + expect(RakeFileUtils).to have_received(:cp).with(src, File.join(subject.target, no_prefix(src)), { preserve: true }) end end end end end