Sha256: 664e2bd6b6ba37ede3c1cf18739b8718edf5420dfe255de170f205664973f125
Contents?: true
Size: 940 Bytes
Versions: 42
Compression:
Stored size: 940 Bytes
Contents
require "spec_helper" module Berkshelf describe BaseFormatter do it "has abstract methods for all the messaging modes" do expect do subject.install("my_coobook", "1.2.3", "http://community") end.to raise_error(AbstractFunction) expect do subject.use("my_coobook", "1.2.3") end.to raise_error(AbstractFunction) expect do subject.use("my_coobook", "1.2.3", "http://community") end.to raise_error(AbstractFunction) expect do subject.uploaded("my_coobook", "1.2.3", "http://chef_server") end.to raise_error(AbstractFunction) expect do subject.msg("something you to know") end.to raise_error(AbstractFunction) expect do subject.error("whoa this is bad") end.to raise_error(AbstractFunction) expect do subject.fetch(double("dependency")) end.to raise_error(AbstractFunction) end end end
Version data entries
42 entries across 42 versions & 1 rubygems