spec/unit/berkshelf/downloader_spec.rb in berkshelf-3.1.5 vs spec/unit/berkshelf/downloader_spec.rb in berkshelf-3.2.0
- old
+ new
@@ -3,11 +3,11 @@
describe Berkshelf::Downloader do
let(:berksfile) { double('berksfile') }
subject { described_class.new(berksfile) }
describe "#download" do
- pending
+ skip
end
describe "#try_download" do
let(:remote_cookbook) { double('remote-cookbook') }
let(:source) do
@@ -32,8 +32,12 @@
allow(remote_cookbook).to receive(:location_path) { "http://api.supermarket.com" }
rest = double('community-rest')
expect(Berkshelf::CommunityREST).to receive(:new).with("http://api.supermarket.com") { rest }
expect(rest).to receive(:download).with(name, version)
subject.try_download(source, name, version)
+ end
+
+ it "supports the 'file_store' location type" do
+ skip
end
end
end