Sha256: 02c7c9c6a944761836551526f2273567cc9255080a3904bb90d767bf02a57143
Contents?: true
Size: 388 Bytes
Versions: 17
Compression:
Stored size: 388 Bytes
Contents
require 'spec_helper' describe Berkshelf::Formatters::Null do before { Berkshelf.set_format(:null) } [:install, :package, :foo, :bar, :bacon].each do |meth| it "does not raise an error for :#{meth}" do expect { subject.send(meth) }.to_not raise_error end it "returns nil for :#{meth}" do expect(subject.send(meth)).to be_nil end end end
Version data entries
17 entries across 17 versions & 1 rubygems