Ok I changed it to 
``` 
FactoryGirl.create(:role, :student)

```