Sha256: e3b0a8ccd29d3c95fa609517fc9aeadc80c630b66432b0a2722481ac32cfaeef
Contents?: true
Size: 417 Bytes
Versions: 9
Compression:
Stored size: 417 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(Berkshelf::AbstractFunction) end it "returns nil for :#{meth}" do expect(subject.send(meth)).to be_nil end end end
Version data entries
9 entries across 9 versions & 1 rubygems