[rspec-devel] Story implementation and custom matchers

David Chelimsky dchelimsky at gmail.com
Wed Nov 7 23:36:43 EST 2007

On Nov 7, 2007 10:33 PM, Jake Howerton <jake.howerton at gmail.com> wrote:
> Is there currently a hook to load in custom matchers for the story runner?
> I am looking for the equivalent to config.include(CustomMatchers) in
> the normal rspec runner

The only hook is :type => SomeClass. You could either subclass
RailsStory and add your matchers to that, or just open it up and
include modules with your matchers. I haven't tried either, but they
*should* work.


More information about the rspec-devel mailing list