You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I type fill_form(:user), that should function as fill_form(:user, attributes_for(:user)) currently does.
When I type fill_form(:user, :name, :email), that should function the same as fill_form(:user, attributes_for(:user).slice(:name, :email)) currently does.
When I type fill_form(:user, :name, password: 'password'), that should function the same as fill_form(:user, attributes_for(:user).slice(:name).merge(password: 'password')) currently does.
The text was updated successfully, but these errors were encountered:
Introduce optional FactoryGirl syntax that makes it easier to use
Formulaic to fill in attributes from a factory with a single argument:
`fill_with_factory(:user)`; limit the attributes from a factory:
`fill_with_factory(:user, :name, :address)`; and even pass arguments to
the factory, such as traits and overrides:
`fill_with_factory(:user, :name, :address, factory_arguments: [:with_verified_address]`.
Resolves#11.
Introduce optional FactoryGirl syntax that makes it easier to use
Formulaic to fill in attributes from a factory with a single argument:
`fill_with_factory(:user)`; limit the attributes from a factory:
`fill_with_factory(:user, :name, :address)`; and even pass arguments to
the factory, such as traits and overrides:
`fill_with_factory(:user, :name, :address, factory_arguments: [:with_verified_address]`.
Resolves#11.
When I type
fill_form(:user)
, that should function asfill_form(:user, attributes_for(:user))
currently does.When I type
fill_form(:user, :name, :email)
, that should function the same asfill_form(:user, attributes_for(:user).slice(:name, :email))
currently does.When I type
fill_form(:user, :name, password: 'password')
, that should function the same asfill_form(:user, attributes_for(:user).slice(:name).merge(password: 'password'))
currently does.The text was updated successfully, but these errors were encountered: