Skip to content

Commit

Permalink
Merge pull request #258 from supremebeing7/patch-1
Browse files Browse the repository at this point in the history
Fix typo for defining fragment factories
  • Loading branch information
danielspaniel committed Nov 7, 2016
2 parents 6e87364 + be99d42 commit fd36409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -918,7 +918,7 @@ FactoryGuy.define('employee', {
});

// Name fragment factory
FactoryGuy.define('employee', {
FactoryGuy.define('name', {
default: {
titles: ['Mr.', 'Dr.'], //array
firstName: 'Jon',
Expand Down Expand Up @@ -1841,4 +1841,4 @@ Then to build the fixture:

// then in your tests you would do
let states = makeList('state', 3); // or however many states you have
```
```

0 comments on commit fd36409

Please sign in to comment.