You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui-v2/tests/integration/adapters/dc/url-test.js

12 lines
418 B

import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Integration | Adapter | dc | url', function(hooks) {
setupTest(hooks);
test('urlForFindAll returns the correct url', function(assert) {
const adapter = this.owner.lookup('adapter:dc');
const expected = `/v1/catalog/datacenters`;
const actual = adapter.urlForFindAll();
assert.equal(actual, expected);
});
});