[rspec-devel] [ rspec-Bugs-5890 ] Can't set expectation on predicate method whose name has underscores
noreply at rubyforge.org
noreply at rubyforge.org
Tue Sep 26 18:25:52 EDT 2006
Bugs item #5890, was opened at 2006-09-25 01:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=5890&group_id=797
Category: None
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Can't set expectation on predicate method whose name has underscores
Initial Comment:
Using rspec 0.6.3, 0.6.2 and 0.6.1, I was unable to set an expectation on a predicate method whose name has underscores. I realize that there is more readable syntax than what I used in the attached example, but I think there is a problem nevertheless. In brief, I can't do this
@order.should_needs_payment
for a method needs_payment? on a class Order.
----------------------------------------------------------------------
>Comment By: Aslak Hellesoy (aslak_hellesoy)
Date: 2006-09-26 18:25
Message:
Duplicate of http://rubyforge.org/tracker/index.php?group_id=797&atid=3152 (which should have been filed as a bug instead of an RFE)
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=5890&group_id=797
More information about the rspec-devel
mailing list