Moving authorization to utils

This commit is contained in:
Matthew Dillon 2015-07-04 11:34:31 -07:00
parent 1c47941413
commit cdc825cc6a
7 changed files with 38 additions and 13 deletions

View file

@ -0,0 +1,10 @@
import userCanAdd from '../../../utils/user-can-add';
import { module, test } from 'qunit';
module('Unit | Utility | user can add');
// Replace this with your real tests.
test('it works', function(assert) {
var result = userCanAdd();
assert.ok(result);
});

View file

@ -0,0 +1,10 @@
import userCanEdit from '../../../utils/user-can-edit';
import { module, test } from 'qunit';
module('Unit | Utility | user can edit');
// Replace this with your real tests.
test('it works', function(assert) {
var result = userCanEdit();
assert.ok(result);
});