Skip to content

Commit

Permalink
Fix documentation to reference build_stubbed instead of stub
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Sep 1, 2011
1 parent fa5095c commit 63458ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GETTING_STARTED.md
Expand Up @@ -69,7 +69,7 @@ factory_girl supports several different build strategies: build, create, attribu
attrs = FactoryGirl.attributes_for(:user)

# Returns an object with all defined attributes stubbed out
stub = FactoryGirl.stub(:user)
stub = FactoryGirl.build_stubbed(:user)

No matter which strategy is used, it's possible to override the defined attributes by passing a hash:

Expand Down

0 comments on commit 63458ee

Please sign in to comment.