2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

TESTS: Integration tests for login_required

This commit is contained in:
Robin Ward 2014-07-31 17:59:52 -04:00
parent e63cdc50bb
commit adea5b36a0
4 changed files with 27 additions and 10 deletions

View file

@ -46,6 +46,10 @@ export default function() {
this.post('/users', function() {
return response({success: true});
});
this.get('/login.html', function() {
return [200, {}, 'LOGIN PAGE'];
});
});