Skip to content

Commit d503698

Browse files
ondrejsevcikJen Weber
authored andcommitted
Add dashes to test module names (ember-learn#501)
1 parent 03d1033 commit d503698

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

guides/release/testing/testing-components.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ and cleaning up once your tests in this module are finished.
3434
import { module } from 'qunit';
3535
import { setupRenderingTest } from 'ember-qunit';
3636

37-
module('Integration | Component | pretty color', function(hooks) {
37+
module('Integration | Component | pretty-color', function(hooks) {
3838
setupRenderingTest(hooks);
3939

4040
});
@@ -47,7 +47,7 @@ Here, we can use the `QUnit.test` helper and we can give it a descriptive name:
4747
import { module, test } from 'qunit';
4848
import { setupRenderingTest } from 'ember-qunit';
4949

50-
module('Integration | Component | pretty color', function(hooks) {
50+
module('Integration | Component | pretty-color', function(hooks) {
5151
setupRenderingTest(hooks);
5252

5353
test('should change colors', async function(assert) {
@@ -68,7 +68,7 @@ import { setupRenderingTest } from 'ember-qunit';
6868
import { render } from '@ember/test-helpers';
6969
import hbs from 'htmlbars-inline-precompile';
7070

71-
module('Integration | Component | pretty color', function(hooks) {
71+
module('Integration | Component | pretty-color', function(hooks) {
7272
setupRenderingTest(hooks);
7373

7474
test('should change colors', async function(assert) {
@@ -99,7 +99,7 @@ import { setupRenderingTest } from 'ember-qunit';
9999
import { render } from '@ember/test-helpers';
100100
import hbs from 'htmlbars-inline-precompile';
101101

102-
module('Integration | Component | pretty color', function(hooks) {
102+
module('Integration | Component | pretty-color', function(hooks) {
103103
setupRenderingTest(hooks);
104104

105105
test('it renders', async function(assert) {
@@ -126,7 +126,7 @@ import { setupRenderingTest } from 'ember-qunit';
126126
import { render } from '@ember/test-helpers';
127127
import hbs from 'htmlbars-inline-precompile';
128128

129-
module('Integration | Component | pretty color', function(hooks) {
129+
module('Integration | Component | pretty-color', function(hooks) {
130130
setupRenderingTest(hooks);
131131

132132
test('it renders', async function(assert) {
@@ -185,7 +185,7 @@ import { setupRenderingTest } from 'ember-qunit';
185185
import { click, render } from '@ember/test-helpers';
186186
import hbs from 'htmlbars-inline-precompile';
187187

188-
module('Integration | Component | magic title', function(hooks) {
188+
module('Integration | Component | magic-title', function(hooks) {
189189
setupRenderingTest(hooks);
190190

191191
test('should update title on button click', async function(assert) {
@@ -250,7 +250,7 @@ import { setupRenderingTest } from 'ember-qunit';
250250
import { click, fillIn, render } from '@ember/test-helpers';
251251
import hbs from 'htmlbars-inline-precompile';
252252

253-
module('Integration | Component | comment form', function(hooks) {
253+
module('Integration | Component | comment-form', function(hooks) {
254254
setupRenderingTest(hooks);
255255

256256
test('should trigger external action on form submit', async function(assert) {
@@ -335,7 +335,7 @@ const locationStub = Service.extend({
335335
}
336336
});
337337

338-
module('Integration | Component | location indicator', function(hooks) {
338+
module('Integration | Component | location-indicator', function(hooks) {
339339
setupRenderingTest(hooks);
340340

341341
hooks.beforeEach(function(assert) {
@@ -371,7 +371,7 @@ const locationStub = Service.extend({
371371
}
372372
});
373373

374-
module('Integration | Component | location indicator', function(hooks) {
374+
module('Integration | Component | location-indicator', function(hooks) {
375375
setupRenderingTest(hooks);
376376

377377
hooks.beforeEach(function(assert) {
@@ -412,7 +412,7 @@ const locationStub = Service.extend({
412412
}
413413
});
414414

415-
module('Integration | Component | location indicator', function(hooks) {
415+
module('Integration | Component | location-indicator', function(hooks) {
416416
setupRenderingTest(hooks);
417417

418418
hooks.beforeEach(function(assert) {
@@ -495,7 +495,7 @@ import { setupRenderingTest } from 'ember-qunit';
495495
import { render, settled } from '@ember/test-helpers';
496496
import hbs from 'htmlbars-inline-precompile';
497497

498-
module('Integration | Component | delayed typeahead', function(hooks) {
498+
module('Integration | Component | delayed-typeahead', function(hooks) {
499499
setupRenderingTest(hooks);
500500

501501
const stubResults = [

0 commit comments

Comments
 (0)