Sorry for not catching this earlier, but since we're trying to ensure this is only called once, should this be `Puppet.expects(:debug).once` to ensure the `debug_once` method behaves as expected?