[rspec-users] Where do a set the description on a should satisfy.

Greg Ditrick gditrick at fuse.net
Mon Sep 27 09:48:51 EDT 2010


---- David Chelimsky <dchelimsky at gmail.com> wrote: 
> 
> On Sep 27, 2010, at 8:12 AM, David Chelimsky wrote:
> 
> re: how to include them: yes, in a module:
> 
> # in spec/support/custom_matchers.rb
> module CustomMatchers
>   ...
> end
> 
> # in spec/spec_helper.rb
> RSpec.configure do |c|
>   c.include CustomMatchers
> end
> 
> Make sense?


Yes.  Thanks.

GregD


More information about the rspec-users mailing list