spec/unit/chef_server_spec.rb in cookbook-omnifetch-0.5.1 vs spec/unit/chef_server_spec.rb in cookbook-omnifetch-0.6.0
- old
+ new
@@ -43,10 +43,10 @@
let(:cookbook_fixture_path) { fixtures_path.join("cookbooks/example_cookbook") }
let(:remote_path) { File.join(test_root, "remote") }
let(:options) { { chef_server: url, version: cookbook_version, http_client: http_client } }
- let(:cookbook_files) { %w{. .. metadata.rb recipes} }
+ let(:cookbook_files) { %w{. .. metadata.rb recipes} }
subject(:chef_server_location) { described_class.new(dependency, options) }
before do
allow(CookbookOmnifetch).to receive(:storage_path).and_return(Pathname.new(storage_path))
allow(CookbookOmnifetch).to receive(:cache_path).and_return(cache_path)