1
0
Fork 0
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:
Joe Ferris 2010-11-04 18:22:27 -04:00
parent 5c88bb058b
commit 36c17ad8c8

View file

@ -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'