1)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file should not transfer the file if it has not been changed'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:147:
2)
'Chef::Provider::RemoteFile do_remote_file should raise an exception if it's any other kind of retriable response than 304' FAILED
expected Net::HTTPRetriableError, got #<Errno::ENOENT: No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json>
./spec/unit/provider/remote_file_spec.rb:154:
3)
'Chef::Provider::RemoteFile do_remote_file should raise an exception if anything else happens' FAILED
expected Net::HTTPServerException, got #<Errno::ENOENT: No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json>
./spec/unit/provider/remote_file_spec.rb:161:
4)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file should checksum the raw file'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:166:
5)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file should set the owner if provided'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:224:
6)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file should set the group if provided'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:230:
7)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file should set the mode if provided'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:236:
8)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file should close the file when done'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:241:
9)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file when given a non-URI source should call generate_url with the current checksum as an extra attribute'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `each_key'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:105:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:36:in `initialize'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `new'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:30:in `load_cookbook_files'
/Users/aj/Development/chef/chef/spec/../lib/chef/mixin/find_preferred_file.rb:67:in `find_preferred_file'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:127:in `get_from_local_cookbook'
/Users/aj/Development/chef/chef/spec/../lib/chef/provider/remote_file.rb:55:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:65:in `do_remote_file'
./spec/unit/provider/remote_file_spec.rb:128:
10)
Errno::ENOENT in 'Chef::Provider::RemoteFile do_remote_file when given a non-URI source should call get_rest with a correctly composed url'
No such file or directory - /Users/aj/Development/chef/chef/spec/data/cookbooks/openldap/metadata.json
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `read'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:117:in `load_cookbooks'
/Users/aj/Development/chef/chef/spec/../lib/chef/cookbook_loader.rb:116:in `each'
/Users/aj/Deve