BM5k/validation_matcher — Issue #2: Validation options with lambdas aren't supported
Author: BM5k
Created: 2012-02-16 21:12:44+00:00
State: open

Trying to test

```ruby
validates :field, exclusion: { in: lambda { |f| [f.to_i] }}
```
with

```ruby
its(:field) { should validate :exclusion, { in: lambda { |f| [f.to_i] }}}
```

won't work since the proc objects are not identical