css and standardization on all admin pages

This commit is contained in:
Wyatt Johnson
2017-12-21 23:27:37 -07:00
parent 5488d5a7fa
commit 20878ba040
25 changed files with 367 additions and 325 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ describe('/api/v1/auth/local', () => {
.catch((err) => {
expect(err).to.not.be.null;
expect(err.response).to.have.status(401);
expect(err.response.body).to.have.property('message', 'not authorized');
expect(err.response.body).to.have.property('message', 'You are not authorized to perform this action.');
});
});
+4 -4
View File
@@ -29,11 +29,11 @@ describe('services.UsersService', () => {
password: '3Coral!3'
}]);
sinon.spy(MailerService, 'sendSimple');
sinon.spy(MailerService, 'send');
});
afterEach(() => {
MailerService.sendSimple.restore();
MailerService.send.restore();
});
describe('#findById()', () => {
@@ -160,7 +160,7 @@ describe('services.UsersService', () => {
expect(user).to.have.property('status', 'ACTIVE');
})
.then(() => {
expect(MailerService.sendSimple).to.not.have.been.called;
expect(MailerService.send).to.not.have.been.called;
});
});
@@ -203,7 +203,7 @@ describe('services.UsersService', () => {
expect(user).to.have.property('status', 'BANNED');
})
.then(() => {
expect(MailerService.sendSimple).to.have.been.calledWithMatch({
expect(MailerService.send).to.have.been.calledWithMatch({
template: 'banned',
to: mockUsers[0].profiles[0].id
});