The 'catalogue' method is the running catalogue within rspec-puppet. It would be pretty huge and hard to follow as its obviously one very large ruby object - but a pretty_inspect (would need require 'pp') or inspect might be a good place to start analyzing it.
On Thu, Feb 21, 2013 at 5:17 PM, Maarten Thibaut (mthibaut) <[email protected]> wrote: > Hi, > > When running rake spec, is it possible to get the catalog of classes, > defined types etc against which rspec is testing? > > For instance: > > it { should contain_user('foo') } > it { should contain_user('foo').with_uid(123) } > > The second test fails. How can I see the definition of User[foo] ? > > Thanks! > maarten > > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-dev?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
