diff options
author | Xavier Noria <fxn@hashref.com> | 2013-04-20 09:26:07 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-04-20 09:26:11 +0200 |
commit | 0400a7ff574f83f2f5d5c3f7d7569bfb37963dda (patch) | |
tree | 9dfcd4ee3f38f502ecbf943f8d7c8301898e90d1 /actionmailer/test | |
parent | d32ef7c7a5a1e29f64eb3c2240c642c7b0c73f25 (diff) | |
download | rails-0400a7ff574f83f2f5d5c3f7d7569bfb37963dda.tar.gz rails-0400a7ff574f83f2f5d5c3f7d7569bfb37963dda.tar.bz2 rails-0400a7ff574f83f2f5d5c3f7d7569bfb37963dda.zip |
if singletons belong to the contract, test them
Object#respond_to? returns singletons and thus we inherit that contract.
The implementation of the predicate is good, but the test is only
checking boolean semantics, which in this case is not enough.
Diffstat (limited to 'actionmailer/test')
0 files changed, 0 insertions, 0 deletions