Skip to content

Commit 27c2e14

Browse files
author
Kelly Selden
committed
failing test for project with dot in name
1 parent 53c73e8 commit 27c2e14

10 files changed

Lines changed: 9 additions & 9 deletions

File tree

test/acceptance/ember-cli-update-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ describe(function() {
239239
promise
240240
} = await merge({
241241
fixturesPath: 'test/fixtures/blueprint/app/remote-app/merge',
242-
commitMessage: 'my-app'
242+
commitMessage: 'my.app'
243243
});
244244

245245
ps.stdout.pipe(process.stdout);

test/fixtures/blueprint/app/remote-app/local/my-app/config/ember-cli-update.json renamed to test/fixtures/blueprint/app/remote-app/local/my.app/config/ember-cli-update.json

File renamed without changes.

test/fixtures/blueprint/app/remote-app/local/my-app/package.json renamed to test/fixtures/blueprint/app/remote-app/local/my.app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "my-app",
2+
"name": "my.app",
33
"version": "0.0.0",
44
"description": "",
55
"main": "index.js"

test/fixtures/blueprint/app/remote-app/local/my-app/test-file.txt renamed to test/fixtures/blueprint/app/remote-app/local/my.app/test-file.txt

File renamed without changes.

test/fixtures/blueprint/app/remote-app/merge/my-app/config/ember-cli-update.json renamed to test/fixtures/blueprint/app/remote-app/merge/my.app/config/ember-cli-update.json

File renamed without changes.

test/fixtures/blueprint/app/remote-app/merge/my-app/package.json renamed to test/fixtures/blueprint/app/remote-app/merge/my.app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "my-app",
2+
"name": "my.app",
33
"version": "0.0.0",
44
"description": "",
55
"main": "index.js"

test/fixtures/blueprint/app/remote-app/merge/my-app/test-file.txt renamed to test/fixtures/blueprint/app/remote-app/merge/my.app/test-file.txt

File renamed without changes.

test/integration/check-for-blueprint-updates-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe(checkForBlueprintUpdates, function() {
2020
it('works', async function() {
2121
// out of date test
2222
let localBlueprint = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/local-app/local/my-app/config/ember-cli-update.json')).blueprints[1];
23-
let urlBlueprint = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/local/my-app/config/ember-cli-update.json')).blueprints[0];
23+
let urlBlueprint = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/local/my.app/config/ember-cli-update.json')).blueprints[0];
2424

2525
// up to date test
2626
let npmBlueprint = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/npm-app/merge/my-app/config/ember-cli-update.json')).blueprints[1];
@@ -48,7 +48,7 @@ describe(checkForBlueprintUpdates, function() {
4848
},
4949
{
5050
blueprint: urlBlueprint,
51-
latestVersion: (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/merge/my-app/config/ember-cli-update.json')).blueprints[0].version,
51+
latestVersion: (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/merge/my.app/config/ember-cli-update.json')).blueprints[0].version,
5252
isUpToDate: false
5353
},
5454
{

test/integration/download-package-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ describe(downloadPackage, function() {
5656
name,
5757
location: url,
5858
version: range
59-
} = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/merge/my-app/config/ember-cli-update.json')).blueprints[0];
59+
} = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/merge/my.app/config/ember-cli-update.json')).blueprints[0];
6060

6161
let downloadedPackage = await downloadPackage(null, url, range);
6262

test/integration/index-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,19 +428,19 @@ applicable codemods: ember-modules-codemod, ember-qunit-codemod, ember-test-help
428428
let {
429429
name,
430430
version: to
431-
} = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/merge/my-app/config/ember-cli-update.json')).blueprints[0];
431+
} = (await loadSafeBlueprintFile('test/fixtures/blueprint/app/remote-app/merge/my.app/config/ember-cli-update.json')).blueprints[0];
432432

433433
let {
434434
status
435435
} = await merge({
436436
fixturesPath: 'test/fixtures/blueprint/app/remote-app/local',
437-
commitMessage: 'my-app',
437+
commitMessage: 'my.app',
438438
blueprint: name,
439439
to
440440
});
441441

442442
fixtureCompare({
443-
mergeFixtures: 'test/fixtures/blueprint/app/remote-app/merge/my-app'
443+
mergeFixtures: 'test/fixtures/blueprint/app/remote-app/merge/my.app'
444444
});
445445

446446
assertNoUnstaged(status);

0 commit comments

Comments
 (0)