Bug #208
spec for bug #1322
| Status : | Resolved | Start : | 02/19/2010 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | - | % Done : | 0% |
|
| Category : | - | |||
| Target version : | - | |||
Description
spec for bug #1322
History
02/19/2010 12:26 PM - Brian Ford
Hi,
Some issues with this patch:
- Why is the spec defining the method on Object? Does this bug only affect a method defined on Object? If not, use a fixture class or a mock.
- The bug_method_1322 is unnecessarily ugly and makes the spec harder to read. The bug # is already in the ruby_bug guard.
- Why is the method called with (nil)?
- The spec description string needs to read naturally, "it lambda" is not grammatical.
Cheers,
Brian
