Sharing custom matchers #219

Closed
fgimenez opened this Issue Sep 17, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@fgimenez

Hi, I am trying to define custom chefspec matchers related to some lwrp in the same cookbook where they are defined, so that the other cookbooks that make use of them can also benefit from the dry'ed matcher definitions.

However so far I didn't succeed with this, I've tried to use methods defined in a library of the lwrp cookbook but it does not seem to be read from the dependent cookbook specs.

What is the best approach for doing this?

Thanks a lot, cheers

@sethvargo

This comment has been minimized.

Show comment
Hide comment
@sethvargo

sethvargo Sep 17, 2013

Collaborator

@fgimenez this is actually on my TODO list for ChefSpec 3.0. In short, you can't right now 😦, but it's coming soon.

Collaborator

sethvargo commented Sep 17, 2013

@fgimenez this is actually on my TODO list for ChefSpec 3.0. In short, you can't right now 😦, but it's coming soon.

@sethvargo sethvargo referenced this issue Sep 30, 2013

Merged

ChefSpec 3.0 #229

0 of 4 tasks complete

@sethvargo sethvargo closed this in #229 Oct 10, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment