Sha256: d11961277f803c440be34a5867aa0990402c5c498b62b9e0f489a668a04cee35
Contents?: true
Size: 921 Bytes
Versions: 10
Compression:
Stored size: 921 Bytes
Contents
require 'spec_helper' describe Berkshelf::Installer do let(:berksfile) { double('berksfile', lockfile: lockfile) } let(:lockfile) { double('lockfile') } subject { described_class.new(berksfile) } describe "#build_universe" do let(:source_one) { double('one', uri: 'https://api.berkshelf.com') } let(:source_two) { double('two', uri: 'https://api.chef.org') } let(:sources) { [ source_one, source_two ] } before { berksfile.stub(sources: sources) } it "sends the message #universe on each source" do source_one.should_receive(:build_universe) source_two.should_receive(:build_universe) subject.build_universe end end describe "#run" do context 'when a lockfile is not present' do pending end context 'when a value for :except is given' do pending end context 'when a value for :only is given' do pending end end end
Version data entries
10 entries across 10 versions & 1 rubygems