puppetlabs/packaging — pull request #63 by daniel-pittman (2012-11-02 22:16:46+00:00)
Title: Fix stub method mismatch in rspec-expectations

Because we are trying to test methods defined at global scope, the overlap
between `stub` as "give me a mock object" and `stub` as "stub this method" on
the rspec test block caused the stub to fail.

This fixes that by using `stub!` to cause a real stub to happen...

Signed-off-by: Daniel Pittman