[rspec-users] Cucumber ".should contain(expected) does but fails anyway

James Byrne lists at ruby-forum.com
Thu Apr 23 15:22:56 EDT 2009


David Chelimsky wrote:
> On Thu, Apr 23, 2009 at 1:56 PM, James Byrne <lists at ruby-forum.com> 
> wrote:
>> for that method before extending Object with my own. If
>> Object.respond_to? :metaclass == true then we are in Rails, or some
>> other framework that provides the same thing, and so we need not provide
>> our own. �Otherwise we add it.
>>
>> Comments?
> 
> I'd rather always define our own so the results are consistent from
> RSpec regardless of other frameworks in the midst. Does that make
> sense to you?

Yes.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list