Skip to content

Commit

Permalink
Be more explicit about what requiring FactoryGirl::Syntax::Methods does
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed Jul 27, 2012
1 parent d48b760 commit fa2b614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ end
World(FactoryGirl::Syntax::Methods)
```

This would allow you to write:
This allows you to use the core set of syntax methods (`build`,
`build_stubbed`, `create`, `attributes_for`, and their `*_list` counterparts)
without having to call them on FactoryGirl directly:

```ruby
describe User, "#full_name" do
Expand Down

0 comments on commit fa2b614

Please sign in to comment.