7021433185
This PR adds a new {{template-anchor}} component. This component lets you specify a 'href template' in a handlebars like format instead of a normal string href. This template will be interpolated with the contents of a vars="" attribute. Also contains code to add an extra UI Setting to be able to store a template to be used for this anchor in localStorage
12 lines
340 B
JavaScript
12 lines
340 B
JavaScript
import { moduleFor, test } from 'ember-qunit';
|
|
|
|
moduleFor('route:dc/services/show', 'Unit | Route | dc/services/show', {
|
|
// Specify the other units that are required for this test.
|
|
needs: ['service:repository/service', 'service:settings'],
|
|
});
|
|
|
|
test('it exists', function(assert) {
|
|
let route = this.subject();
|
|
assert.ok(route);
|
|
});
|