[Rspec-devel] possible addition to expectations...

Richard Kilmer rich at infoether.com
Mon Apr 24 16:02:03 EDT 2006


On Apr 24, 2006, at 2:06 PM, aslak hellesoy wrote:

>>> that's not a big deal as long as we alias the old method_missing and
>>> delegate to it if the :method doesn't =~ /should_.*/
>>
>> what about other messages =~ /should_.*/ that aren't ours?
>>
>
> I think that's very unlikely - just like collision with an other
> should is unlikely.
> We can address that with a commanline switch to disable the
> /should_.*/ syntax - and have  it enabled by default.

The same is for should itself.  Since the should_ is a string, it can  
easily be available at runtime via a switch.  Its just spliting/ 
dispatching.

>
>> Dave
>>
>> _______________________________________________
>> Rspec-devel mailing list
>> Rspec-devel at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-devel
>>
>
> _______________________________________________
> Rspec-devel mailing list
> Rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel



More information about the Rspec-devel mailing list