diff --git a/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.hbs b/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.hbs index 49793c689..5876c962e 100644 --- a/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.hbs +++ b/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.hbs @@ -21,6 +21,9 @@ See our options.hbs
+Test helpers: The registerPowerSelectHelpers
is not required anymore. Please, remove this from /tests/helpers/start-app.js
.
Helper: The helper ember-power-select-is-selected
was renamed to ember-power-select-is-equal
. If you have used in your custom components, you need to replace it
- To use those helpers in acceptance tests that use moduleForAcceptance
, you need to register them in the /tests/helpers/start-app.js
- file.
-
- For that import the registration function and invoke it immedialty. -
- -However if you are using the new testing API described in RFC 232, available in ember-cli-qunit >= 4.2 and ember-cli-mocha >= 0.15.0, then you just can explicitly import those helpers where needed (even in integration tests!)
-selectChoose(cssPath, optionTextOrOptionSelector, index?)
diff --git a/docs/app/templates/snippets/test-helpers-1-js.js b/docs/app/templates/snippets/test-helpers-1-js.js deleted file mode 100644 index ddf29960a..000000000 --- a/docs/app/templates/snippets/test-helpers-1-js.js +++ /dev/null @@ -1,9 +0,0 @@ -import Application from '../../app'; -import config from '../../config/environment'; -import registerPowerSelectHelpers from 'ember-power-select/test-support/helpers'; - -registerPowerSelectHelpers(); - -export default function startApp(attrs) { - //... -}