Hopefully I didn't just overlook this in the docs but, in rspec-puppet, how
would you go about getting the value of $bar from the following?
class foo {
$bar = interesting_function('baz')
}
I've inspected everything that I think is obvious and I don't want to try
and stub what 'interesting_function' should be doing since it's dynamic.
Any ideas?
Thanks,
Trevor
--
Trevor Vaughan
Vice President, Onyx Point, Inc
(410) 541-6699
[email protected]
-- This account not approved for unencrypted proprietary information --
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoVY%3DCtqRSjbOQYN-j%2B9PCkfYbXnGW-9qPOf1R6ZB%3DtNSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.