From 3caa0394f70a4a3dd9de2923ec19e998736490a9 Mon Sep 17 00:00:00 2001 From: Mike North Date: Tue, 28 Aug 2018 11:04:51 -0400 Subject: [PATCH] fix: pdate package name --- tests/acceptance/exercise-6-test.js | 2 +- tests/acceptance/exercise7-test.js | 2 +- tests/integration/components/course-list-item-test.js | 2 +- tests/integration/components/two-inputs-test.js | 2 +- tests/integration/helpers/placeholder-url-test.js | 2 +- tests/unit/utils/course-test.js | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/acceptance/exercise-6-test.js b/tests/acceptance/exercise-6-test.js index 112bc9a5..fab06839 100644 --- a/tests/acceptance/exercise-6-test.js +++ b/tests/acceptance/exercise-6-test.js @@ -3,7 +3,7 @@ import moduleForAcceptance from '../helpers/module-for-acceptance'; import require from 'require'; if ( - require.has('ember-fundamentals/routes/course') && + require.has('@mike-works/ember-fundamentals/routes/course') && !require.has('ember-network/fetch') && !require.has('fetch') ) { diff --git a/tests/acceptance/exercise7-test.js b/tests/acceptance/exercise7-test.js index cad1c276..61052f90 100644 --- a/tests/acceptance/exercise7-test.js +++ b/tests/acceptance/exercise7-test.js @@ -3,7 +3,7 @@ import moduleForAcceptance from '../helpers/module-for-acceptance'; import require from 'require'; if ( - require.has('ember-fundamentals/routes/course') && + require.has('@mike-works/ember-fundamentals/routes/course') && (require.has('ember-network/fetch') || require.has('fetch')) ) { moduleForAcceptance('Exercise 7 | Async Data'); diff --git a/tests/integration/components/course-list-item-test.js b/tests/integration/components/course-list-item-test.js index 0ad8d58a..934909c6 100644 --- a/tests/integration/components/course-list-item-test.js +++ b/tests/integration/components/course-list-item-test.js @@ -2,7 +2,7 @@ import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import require from 'require'; -if (require.has('ember-fundamentals/components/course-list-item')) { +if (require.has('@mike-works/ember-fundamentals/components/course-list-item')) { moduleForComponent( 'course-list-item', 'Exercise 3 | course-list-item component', diff --git a/tests/integration/components/two-inputs-test.js b/tests/integration/components/two-inputs-test.js index d67f533d..20acb0f1 100644 --- a/tests/integration/components/two-inputs-test.js +++ b/tests/integration/components/two-inputs-test.js @@ -2,7 +2,7 @@ import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; import require from 'require'; -if (require.has('ember-fundamentals/components/two-inputs')) { +if (require.has('@mike-works/ember-fundamentals/components/two-inputs')) { moduleForComponent('two-inputs', 'Integration | Component | two inputs', { integration: true }); diff --git a/tests/integration/helpers/placeholder-url-test.js b/tests/integration/helpers/placeholder-url-test.js index 30b11b17..3d0731bd 100644 --- a/tests/integration/helpers/placeholder-url-test.js +++ b/tests/integration/helpers/placeholder-url-test.js @@ -6,7 +6,7 @@ moduleForComponent('placeholder-url', 'helper:placeholder-url', { integration: true }); -if (require.has('ember-fundamentals/helpers/placeholder-url')) { +if (require.has('@mike-works/ember-fundamentals/helpers/placeholder-url')) { // Replace this with your real tests. test('conventional usage', function(assert) { this.render(hbs`{{placeholder-url w=300 h=302}}`); diff --git a/tests/unit/utils/course-test.js b/tests/unit/utils/course-test.js index 376ef9e0..85dc5063 100644 --- a/tests/unit/utils/course-test.js +++ b/tests/unit/utils/course-test.js @@ -1,8 +1,8 @@ import { module, test } from 'qunit'; import require from 'require'; -if (require.has('ember-fundamentals/utils/course')) { - const Course = require('ember-fundamentals/utils/course').default; +if (require.has('@mike-works/ember-fundamentals/utils/course')) { + const Course = require('@mike-works/ember-fundamentals/utils/course').default; module('Exercise 1 | Modeling Data');