spec/unit/ridley/resources/cookbook_resource_spec.rb in ridley-0.7.0.rc4 vs spec/unit/ridley/resources/cookbook_resource_spec.rb in ridley-0.7.0
- old
+ new
@@ -209,10 +209,10 @@
subject.download
end
end
describe "#download_file" do
- let(:destination) { tmp_path.join('fake.file') }
+ let(:destination) { tmp_path.join('fake.file').to_s }
before(:each) do
subject.stub(:root_files) { [ { name: 'metadata.rb', url: "http://test.it/file" } ] }
end