rspec/rspec-expectations — pull request #163 by adzap (2012-07-27 13:45:56+00:00)
Title: Give priority to pluralised collection method in have matcher

If the target defines both the singular and plural form of a collection name the singular form will be used for the have(1) case.

```ruby
target.respond_to?(:versions) #=> true
target.respond_to?(:version) #=> true, but does not return a collection

target.should have(1).version # fails because it uses version method
```

Giving priority to the pluralised collection name solves this issue.