Merge branch 'master' of github.com:coralproject/talk into username-ban

This commit is contained in:
David Jay
2017-02-02 12:29:29 -05:00
42 changed files with 8560 additions and 441 deletions
@@ -28,8 +28,8 @@ describe ('notificationsReducer', () => {
type: 'test'
});
const result = notificationReducer(store, action);
expect(result.get('text')).to.equal(undefined);
expect(result.get('type')).to.equal(undefined);
expect(result.get('text')).to.equal('');
expect(result.get('type')).to.equal('');
});
});
});
+1 -1
View File
@@ -97,7 +97,7 @@ describe('/api/v1/queue', () => {
it('should return all the pending comments, users and actions', () => {
return chai.request(app)
.get('/api/v1/queue/comments/pending')
.get('/api/v1/queue/comments/premod')
.set(passport.inject({roles: ['ADMIN']}))
.then((res) => {
expect(res).to.have.status(200);