Cucumber factory 1.10.0 released

Posted Over 9 years ago. Visible to the public.

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.

Tobias Kraze
Last edit
Over 8 years ago
Tobias Kraze
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to makandra dev (2015-02-02 13:38)