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

QUnit 2.x syntax in docs on hooks #298

Merged
merged 1 commit into from
Jun 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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