Skip to content

Commit

Permalink
Merge e7b4507 into 3a2eb25
Browse files Browse the repository at this point in the history
  • Loading branch information
bekomay26 committed Jul 16, 2018
2 parents 3a2eb25 + e7b4507 commit c39fc38
Show file tree
Hide file tree
Showing 26 changed files with 3,721 additions and 4,376 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"mocha": true,
"jasmine": true
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const authCallback = (req, res) => {
*/
const signin = (req, res) => {
if (!req.user) {
res.redirect('/#!/signin?error=invalid');
res.redirect('/#!/signin');
} else {
res.redirect('/#!/app');
}
Expand Down
6 changes: 3 additions & 3 deletions backend-test/user/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ const User = mongoose.model('User');
let user;

// The tests
describe('<Unit Test>', () => {
describe('Unit Test', () => {
describe('Model User:', () => {
before((done) => {
user = new User({
name: 'Full name',
email: 'test@test.com',
username: 'user',
password: 'password'
username: 'userd',
password: 'testing'
});

done();
Expand Down
Loading

0 comments on commit c39fc38

Please sign in to comment.