[rspec-users] default to just call the method?

Rick DeNatale rick.denatale at gmail.com
Thu Jan 14 12:02:44 EST 2010

On Tue, Jan 12, 2010 at 5:49 PM, rogerdpack <rogerpack2005 at gmail.com> wrote:
> Any interest in the following idea?
> a.should include?("1:4") # if there's no matcher called include? then
> just call include?
> or something along those lines?


You can already say

a.should include("1:4")

which is clearer IMHO.

Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

More information about the rspec-users mailing list