spec/rake/funnel/integration/teamcity/nunit_plugin_spec.rb in rake-funnel-0.0.4.pre vs spec/rake/funnel/integration/teamcity/nunit_plugin_spec.rb in rake-funnel-0.0.5.pre
- old
+ new
@@ -41,10 +41,10 @@
it 'should enumerate addin files' do
expect(Dir).to have_received(:glob).with(/#{Regexp.escape(env_var + '-1.2.3.*')}$/)
end
it 'should copy the addin from TeamCity to NUnit' do
- expect(RakeFileUtils).to have_received(:cp).with(addin_dlls, File.join(File.dirname(which), 'addins'))
+ expect(RakeFileUtils).to have_received(:cp).with(addin_dlls, File.join(File.dirname(which), 'addins'), { preserve: true })
end
it 'should report that the addin is installed' do
expect(Rake).to have_received(:rake_output_message).with("Installing TeamCity NUnit addin for version 1.2.3 in #{which}")
end