[rspec-devel] [ rspec-Feature Requests-6178 ] should_return

noreply at rubyforge.org noreply at rubyforge.org
Wed Nov 8 17:37:25 EST 2006


Feature Requests item #6178, was opened at 2006-10-16 07:18
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=6178&group_id=797

Category: None
Group: None
Status: Open
Priority: 3
Submitted By: David Chelimsky (dchelimsky)
Assigned to: David Chelimsky (dchelimsky)
Summary: should_return

Initial Comment:
I'd like to add should_return as an alias for should_equal for lambdas:

lambda { expression }.should_return value

reads more intuitively than

lambda { expression }.should_equal value

----------------------------------------------------------------------

>Comment By: Aslak Hellesøy (aslak_hellesoy)
Date: 2006-11-08 17:37

Message:
I think you mean an alias for should_eql or should ==

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=6178&group_id=797


More information about the rspec-devel mailing list