diff options
author | Matt Robinson <matt@puppetlabs.com> | 2011-05-26 15:44:43 -0700 |
---|---|---|
committer | Matt Robinson <matt@puppetlabs.com> | 2011-05-26 16:08:32 -0700 |
commit | ea7908b8d6dc2092b7a7ff4b92452821a3afd86b (patch) | |
tree | ef09a7f71b01d605be546846d0cf89284b18cc67 /examples/code/snippets/classargtest.pp | |
parent | 2aa9f2fe390c15806cce5532afed2fc7ecf51b8b (diff) | |
download | puppet-ea7908b8d6dc2092b7a7ff4b92452821a3afd86b.tar.gz puppet-ea7908b8d6dc2092b7a7ff4b92452821a3afd86b.tar.xz puppet-ea7908b8d6dc2092b7a7ff4b92452821a3afd86b.zip |
maint: Fix order dependent spec failure for face indirection
An indirected face is being created in
spec/unit/application/indirection_base_spec.rb that uses a stubbed out
indirection. This stub didn't have a name method defined, which caused
the documentation_spec.rb, that does checks against every available
face, to blow up with:
expected no Exception, got #<NoMethodError: undefined method `to_sym' for nil:NilClass>
in lib/puppet/face/indirector/face.rb when listing the indirections for
the help text.
I toyed with creating a real indirection for the test, but that was
harder than expected.
Paired-with: Max Martin <max@puppetlabs.com>
Diffstat (limited to 'examples/code/snippets/classargtest.pp')
0 files changed, 0 insertions, 0 deletions