Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: HTTPAdapter - Move Tests #6281

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | acl | url', function(hooks) {
module('Integration | Adapter | acl', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'token-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | coordinate | url', function(hooks) {
module('Integration | Adapter | coordinate', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
test('requestForQuery returns the correct url', function(assert) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | dc | url', function(hooks) {
module('Integration | Adapter | dc', function(hooks) {
setupTest(hooks);
test('requestForFindAll returns the correct url', function(assert) {
const adapter = this.owner.lookup('adapter:dc');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | intention | url', function(hooks) {
module('Integration | Adapter | intention', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'intention-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | kv | url', function(hooks) {
module('Integration | Adapter | kv', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'key-name/here';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | node | url', function(hooks) {
module('Integration | Adapter | node', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'node-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test, skip } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | policy | url', function(hooks) {
module('Integration | Adapter | policy', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'policy-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | role | url', function(hooks) {
module('Integration | Adapter | role', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'role-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | service | url', function(hooks) {
module('Integration | Adapter | service', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'service-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | session | url', function(hooks) {
module('Integration | Adapter | session', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'session-id';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | token | url', function(hooks) {
module('Integration | Adapter | token', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'policy-id';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
module('Integration | Adapter | acl | response', function(hooks) {
module('Integration | Serializer | acl', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'token-name';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
module('Integration | Adapter | coordinate | response', function(hooks) {
module('Integration | Serializer | coordinate', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
test('respondForQuery returns the correct data for list endpoint', function(assert) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
module('Integration | Adapter | dc | response', function(hooks) {
module('Integration | Serializer | dc', function(hooks) {
setupTest(hooks);
test('respondForFindAll returns the correct data for list endpoint', function(assert) {
const serializer = this.owner.lookup('serializer:dc');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
module('Integration | Adapter | intention | response', function(hooks) {
module('Integration | Serializer | intention', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'intention-name';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
module('Integration | Adapter | kv | response', function(hooks) {
module('Integration | Serializer | kv', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'key-name/here';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
module('Integration | Adapter | node | response', function(hooks) {
module('Integration | Serializer | node', function(hooks) {
setupTest(hooks);
test('respondForQuery returns the correct data for list endpoint', function(assert) {
const serializer = this.owner.lookup('serializer:node');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
module('Integration | Adapter | policy | response', function(hooks) {
module('Integration | Serializer | policy', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'policy-name';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
import { createPolicies } from 'consul-ui/tests/helpers/normalizers';

module('Integration | Adapter | role | response', function(hooks) {
module('Integration | Serializer | role', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'role-name';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
import { get } from 'consul-ui/tests/helpers/api';
import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';
module('Integration | Adapter | service | response', function(hooks) {
module('Integration | Serializer | service', function(hooks) {
setupTest(hooks);
test('respondForQuery returns the correct data for list endpoint', function(assert) {
const serializer = this.owner.lookup('serializer:service');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { HEADERS_SYMBOL as META } from 'consul-ui/utils/http/consul';

import { createPolicies } from 'consul-ui/tests/helpers/normalizers';

module('Integration | Adapter | token | response', function(hooks) {
module('Integration | Serializer | token', function(hooks) {
setupTest(hooks);
const dc = 'dc-1';
const id = 'token-name';
Expand Down