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

noreply at rubyforge.org noreply at rubyforge.org
Mon Oct 16 07:18:43 EDT 2006


Feature Requests item #6178, was opened at 2006-10-16 11: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: Nobody (None)
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

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

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