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

Commit 5dfbdce

Browse files
committed
update(testing): renames title of test. basics (emberjs/ember.js#15933)
This updates the title of the former "Unit Testing Basics" section to "Testing Basics" to avoid talking about "container" tests in an originally "unit" test focused section.
1 parent da4bedc commit 5dfbdce

6 files changed

+8
-8
lines changed

source/testing/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ run `ember test --module='Unit | Service | location'`.
144144
[QUnit]: http://qunitjs.com/
145145
[Testem]: https://github.com/airportyh/testem
146146
[Application tests]: ../testing-application
147-
[Testing Basics]: ../unit-testing-basics
147+
[Testing Basics]: ../testing-basics
148148
[Testing Components]: ../testing-components
149149
[Testing Helpers]: ../testing-helpers
File renamed without changes.

source/testing/testing-controllers.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
_Container testing methods and computed properties follows previous patterns shown
2-
in [Unit Testing Basics] because Ember.Controller extends Ember.Object._
2+
in [Testing Basics] because Ember.Controller extends Ember.Object._
33

44
Testing controllers is very simple using the `setupTest` helper which is part
55
of the ember-qunit framework. The tests written for instances like `Ember.Controller` are
@@ -144,5 +144,5 @@ module('Unit | Controller | comments', function(hooks) {
144144
});
145145
```
146146

147-
[Unit Testing Basics]: ../unit-testing-basics
147+
[Testing Basics]: ../testing-basics
148148
[needs]: ../../controllers/dependencies-between-controllers

source/testing/testing-helpers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,5 @@ module('Integration | Helper | format currency', function(hooks) {
9898
});
9999
```
100100

101-
[Testing Components]: ../unit-testing-basics
101+
[Testing Components]: ../testing-basics
102102
[Writing Helpers]: ../../templates/writing-helpers

source/testing/testing-models.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
_Container testing methods and computed properties follows previous patterns shown
2-
in [Unit Testing Basics] because DS.Model extends Ember.Object._
2+
in [Testing Basics] because DS.Model extends Ember.Object._
33

44
[Ember Data] Models can be tested in a module that uses the `setupTest` helper.
55

@@ -104,5 +104,5 @@ look at the [Ember Data tests] for examples of deeper relationship testing if yo
104104
feel the need to do it._
105105

106106
[Ember Data]: https://github.com/emberjs/data
107-
[Unit Testing Basics]: ../unit-testing-basics
107+
[Testing Basics]: ../testing-basics
108108
[Ember Data tests]: https://github.com/emberjs/data/tree/master/tests

source/testing/testing-routes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
_Container testing methods and computed properties follows previous patterns shown
2-
in [Unit Testing Basics] because Ember.Route extends Ember.Object._
2+
in [Testing Basics] because Ember.Route extends Ember.Object._
33

44
Testing routes can be done both via application tests or more container tests. Application tests
55
will likely provide better coverage for routes because routes are typically used
@@ -87,5 +87,5 @@ module('Unit | Route | application', function(hooks) {
8787
});
8888
```
8989

90-
[Unit Testing Basics]: ../unit-testing-basics
90+
[Testing Basics]: ../testing-basics
9191
[separated our concerns]: http://en.wikipedia.org/wiki/Separation_of_concerns

0 commit comments

Comments
 (0)