Skip to content

Commit

Permalink
QUnit 2.x syntax in docs text
Browse files Browse the repository at this point in the history
QUnit 2.x syntax is supported in ember-qunit.

See https://github.com/rwjblue/ember-qunit/issues/114
  • Loading branch information
olleolleolle committed May 11, 2015
1 parent 29c20a8 commit 43cd905
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 43cd905

Please sign in to comment.