thoughtbot/suspenders — pull request #185 by topdev (2013-06-21 18:55:22+00:00)
Title: Test Factory only if object respond_to :valid?

If I use Factory Girl for non-AR objects, I Am get failed test, because this object does not have valid? method.
```
FactoryGirl.define do
factory :bundle, class: Hash do
initialize_with do
{ test: :fail }
end
end
end
```