mirror of
https://github.com/thoughtbot/factory_bot.git
synced 2022-11-09 11:43:51 -05:00
Fixed a mistake in the README
This commit is contained in:
parent
5c88bb058b
commit
36c17ad8c8
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ Gem:
|
|||
Each factory has a name and a set of attributes. The name is used to guess the class of the object by default, but it's possible to explicitly specify it:
|
||||
|
||||
# This will guess the User class
|
||||
FactoryGirl.define :user do
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
first_name 'John'
|
||||
last_name 'Doe'
|
||||
|
|
Loading…
Reference in a new issue