emmanuel/aequitas — comment on commit c48154a3ef175ecac0b0e8a12bbb3da2564d81e2
File: spec/integration/virtus/boolean/presence_spec.rb line 15
By solnic:

I started using anonymous classes for such cases. In the long term it's easier to maintain a suite where you don't have to worry about test class names. What I usually write in the cases like this is:

``` ruby
Class.new do
include Virtus
include Aequitas

attribute :boolean_with_presence, Boolean, :required => true
end
```