evansagge/mongoid-rspec — Issue #52: Field type validation not quite working.
Author: krainboltgreene
Created: 2011-11-28 03:48:47+00:00
State: open

```
Failure/Error: it { should have_fields(:email, :password, :name).of_type(String) }
Expected Account to have fields named "email", "password", and "name" of type String, got field "email" of type Mongoid::Fields::Serializable::Object, field "password" of type Mongoid::Fields::Serializable::Object, and field "name" of type Mongoid::Fields::Serializable::Object
```