I've pushed an update to Cucumber factory that simplifies working with FactoryGirl
factories.
Say you define a factory with the class:
option:
factory :admin, class: User
email
admin true
end
In the past, you had to write
Given there is a user (admin)
Now you can simply write
Given there is an admin
The class is inferred from the factory.