cleaning some tests

This commit is contained in:
Matthew Dillon 2015-10-29 20:52:16 -07:00
parent 8684d0d148
commit d80e95c1eb
5 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ export default BaseAuthenticator.extend({
return RSVP.resolve(data);
},
invalidate: function(data) {
invalidate: function(/* data */) {
return RSVP.resolve();
},
});

View file

@ -12,7 +12,7 @@ export default Ember.Route.extend(UnauthenticatedRouteMixin, {
this.get('session').authenticate('authenticator:jwt-resolved', token).then(() => {
this.get('currentUser.account').then((account) => {
this.transitionTo('protected.users.changepassword', account.get('id'));
})
});
});
},

View file

@ -1,5 +1,5 @@
import resolver from './helpers/resolver';
import flashMessageHelper from './helpers/flash-message';
// import flashMessageHelper from './helpers/flash-message';
import {
setResolver

View file

@ -5,7 +5,7 @@ import {
moduleForModel('measurement', {
// Specify the other units that are required for this test.
needs: ['model:strain']
needs: ['model:strain', 'model:characteristic']
});
test('it exists', function(assert) {

View file

@ -5,7 +5,7 @@ import {
moduleForModel('strain', {
// Specify the other units that are required for this test.
needs: ['model:measurement']
needs: ['model:measurement', 'model:characteristic', 'model:species']
});
test('it exists', function(assert) {