Yep, that's a good idea!

On Monday, 18 July 2011 at 6:13 PM, David Schmitt wrote:

> On 18.07.2011 09:18, Tim Sharpe wrote:
> > We have a generic create_resource matcher than can be used however for a
> > nicer experience I also want to create specific matchers for the built
> > in types.
> > 
> > it { should create_resource('package',
> > 'mysql-server').with_param('ensure', 'present') }
> > vs
> > it { should create_package('mysql-server').with_ensure('present') }
> 
> Would it be possible to create a generic create_Z matcher that looks for 
> a Z resource type? I'm no ruby buff, but other matchers do so.
> 
> Best Regards, David
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Developers" group.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/puppet-dev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to