summaryrefslogtreecommitdiffstats
path: root/spec/integration/util/autoload.rb
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-06-28 15:27:44 -0700
committerMarkus Roberts <Markus@reality.com>2010-06-28 16:05:38 -0700
commit0aae5a71a8e3b38cd8d7041f5c40091887c924a8 (patch)
treed4bc793fe73e3a3d8d825fa4c631bdd63028e1b7 /spec/integration/util/autoload.rb
parent0fa10a6a6315959e5cae1e61aef13610ec126e13 (diff)
downloadpuppet-0aae5a71a8e3b38cd8d7041f5c40091887c924a8.tar.gz
puppet-0aae5a71a8e3b38cd8d7041f5c40091887c924a8.tar.xz
puppet-0aae5a71a8e3b38cd8d7041f5c40091887c924a8.zip
maint: Fixing tests that fail when run as root
Commit ae520057280c2454bc44c64ac1e6686bf2eb086d introduced some code that used 'asuser' which does nothing when not run as root, but in these tests tries to run as a non-existent user. Stubbing out the asuser method to just yield prevents test failures when running as root.
Diffstat (limited to 'spec/integration/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions