spec/unit/berkshelf/formatters/null_spec.rb in berkshelf-3.0.0.beta1 vs spec/unit/berkshelf/formatters/null_spec.rb in berkshelf-3.0.0.beta2

- old
+ new

@@ -5,10 +5,10 @@ [: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) + }.to_not raise_error end it "returns nil for :#{meth}" do expect(subject.send(meth)).to be_nil end