move replication-actions into core addon so that secondary recovery works (#7226)

* move replication-actions component into core addon so that secondary recovery works

* move the rest of replication action components
This commit is contained in:
Matthew Irish
2019-08-05 14:05:32 -05:00
committed by GitHub
parent 020a8aa0c6
commit a32c1ddad9
36 changed files with 66 additions and 48 deletions

View File

@@ -4,14 +4,9 @@ import Service from '@ember/service';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { click, fillIn, blur, render, find } from '@ember/test-helpers';
import { camelize } from '@ember/string';
import engineResolverFor from 'ember-engines/test-support/engine-resolver-for';
import hbs from 'htmlbars-inline-precompile';
import sinon from 'sinon';
const resolver = engineResolverFor('replication');
const storeStub = Service.extend({
callArgs: null,
adapterFor() {
@@ -32,7 +27,7 @@ const routerService = Service.extend({
});
module('Integration | Component | replication actions', function(hooks) {
setupRenderingTest(hooks, { resolver });
setupRenderingTest(hooks);
hooks.beforeEach(function() {
run(() => {
@@ -99,7 +94,6 @@ module('Integration | Component | replication actions', function(hooks) {
mode: clusterMode,
modeForUrl: clusterMode,
},
[`can${camelize(action)}`]: true,
reload() {
return resolve();
},