chore: 🤖 List groups under /groups page

This commit is contained in:
Susmitha Girumala committed 2020-06-24 17:07:32 -04:00
1 parent 17057fcb18
commit 98c7d003a0
12 files changed
+131 -2

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import ApplicationAdapter from './application';
import ScopeAdapterMixin from '../mixins/scope-adapter';
export default class GroupAdapter extends ApplicationAdapter.extend(
ScopeAdapterMixin
) {
// =attributes
/**
* Group is scoped to org only, for now.
* @type {boolean}
*/
includeProject = false;
}
+1
View File
@@ -0,0 +1 @@
export { default } from 'api/adapters/group';
@@ -0,0 +1,12 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Adapter | group', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function(assert) {
let adapter = this.owner.lookup('adapter:group');
assert.ok(adapter);
});
});