mirror of
https://github.com/status-im/consul.git
synced 2025-01-15 00:04:47 +00:00
b38e5df630
1. Listing, filtering by action and searching by source name and destination name 2. Edit/Create page, edits ping the API double fine, need to work through creates and deletes 3. Currently uses a `Precedence` intention keyname that doesn't yet exist in the real API
21 lines
798 B
JavaScript
21 lines
798 B
JavaScript
import EmberObject from '@ember/object';
|
|
import IntentionWithActionsMixin from 'consul-ui/mixins/intention/with-actions';
|
|
import { moduleFor, test } from 'ember-qunit';
|
|
|
|
moduleFor('mixin:intention/with-actions', 'Unit | Mixin | intention/with actions', {
|
|
// Specify the other units that are required for this test.
|
|
needs: ['service:feedback'],
|
|
subject: function() {
|
|
const IntentionWithActionsObject = EmberObject.extend(IntentionWithActionsMixin);
|
|
this.register('test-container:intention/with-actions-object', IntentionWithActionsObject);
|
|
// TODO: May need to actually get this from the container
|
|
return IntentionWithActionsObject;
|
|
},
|
|
});
|
|
|
|
// Replace this with your real tests.
|
|
test('it works', function(assert) {
|
|
const subject = this.subject();
|
|
assert.ok(subject);
|
|
});
|