rtyler/puppet-jenkins — pull request #10 by marut (2012-03-08 05:44:34+00:00)
Title: Mock apt::source define in spec tests. fixes #9

This commit pre-defines apt::source in spec/classes/jenkins_spec.rb in order to be able to successfully run rspec-puppet tests without needing the apt module present in the environment.

Yes, it's a hack.

"[...] The problem is that I (being a dirty rpm user) shouldn't need to pull puppet-apt into the environment to run these tests [...]" ~ rtyler

See: https://github.com/rtyler/puppet-jenkins/issues/9