Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Commit

Permalink
Merge pull request #298 from olleolleolle/patch-1
Browse files Browse the repository at this point in the history
QUnit 2.x syntax in docs on hooks
  • Loading branch information
trek committed Jun 12, 2015
2 parents 182e114 + 43cd905 commit 49c5c76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/testing/unit-test-helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ By including [Ember-QUnit], you will have access to a number of test helpers.
- **fullName**: The full name of the unit, (ie. `controller:application`,
`route:index`, etc.)
- **description**: the description of the module
- **callbacks**: normal QUnit callbacks (setup and teardown), with addition to
- **callbacks**: normal QUnit callbacks (beforeEach and afterEach), with addition to
needs, which allows you specify the other units the tests will need.

* `moduleForComponent(name [, description [, callbacks]])`
- **name**: the short name of the component that you'd use in a template, (ie.
`x-foo`, `ic-tabs`, etc.)
- **description**: the description of the module
- **callbacks**: normal QUnit callbacks (setup and teardown), with addition to
- **callbacks**: normal QUnit callbacks (beforeEach and afterEach), with addition to
needs, which allows you specify the other units the tests will need.

* `moduleForModel(name [, description [, callbacks]])`
- **name**: the short name of the model you'd use in store
operations (ie. `user`, `assignmentGroup`, etc.)
- **description**: the description of the module
- **callbacks**: normal QUnit callbacks (setup and teardown), with addition to
- **callbacks**: normal QUnit callbacks (beforeEach and afterEach), with addition to
needs, which allows you specify the other units the tests will need.

* `test`
Expand Down

0 comments on commit 49c5c76

Please sign in to comment.