On Wed, Sep 8, 2010 at 14:42, Brian Kaney <br...@vermonster.com> wrote:

> Is it good practice to call matchers from within matchers?   Kinda like this 
> pattern:
>
>  See: http://gist.github.com/570467

David Chelimsky taught me not to invoke #should in a matcher, but
rather just answer a boolean, so I expect that, rather than matcher
using matcher, you could extract the low-level matcher behavior into
methods that both matchers would use.
-- 
J. B. (Joe) Rainsberger :: http://www.jbrains.ca ::
http://blog.thecodewhisperer.com
Diaspar Software Services :: http://www.diasparsoftware.com
Author, JUnit Recipes
2005 Gordon Pask Award for contribution to Agile practice :: Agile
2010: Learn. Practice. Explore.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to