]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(#14670) Fixup file_line autorequire specs
authorJeff McCune <jeff@puppetlabs.com>
Mon, 26 Nov 2012 19:37:08 +0000 (11:37 -0800)
committerJeff McCune <jeff@puppetlabs.com>
Mon, 26 Nov 2012 19:37:08 +0000 (11:37 -0800)
commitd8cde952956e80eeae617469c59a3bbd61336e70
treef96e3c5a7c72ee528473cecf10e2439db49539ba
parentdfcee63afb19d72677f177e83ce237765cccf0f7
(#14670) Fixup file_line autorequire specs

Without this patch applied the file_line autorequire examples are
failing.  This is a problem because the failures are false positives and
should be passing given the implementation.

This patch fixes the problem by changing the examples to directly test
the existence of the relationship by finding it in the list of
autorequire relationships.
spec/unit/puppet/type/file_line_spec.rb