Fix style issues

This commit is contained in:
Raymond Feng 2015-03-27 08:59:11 -07:00
parent ade5d5ea21
commit 548cb6ef94
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ var loopback = require('../../lib/loopback');
*/
module.exports = function(RoleMapping) {
// Principal types
// Principal types
RoleMapping.USER = 'USER';
RoleMapping.APP = RoleMapping.APPLICATION = 'APP';
RoleMapping.ROLE = 'ROLE';

View File

@ -71,7 +71,7 @@ module.exports = function(Role) {
});
// Special roles
// Special roles
Role.OWNER = '$owner'; // owner of the object
Role.RELATED = '$related'; // any User with a relationship to the object
Role.AUTHENTICATED = '$authenticated'; // authenticated user

View File

@ -838,7 +838,7 @@ describe('app', function() {
});
describe('app.connector', function() {
// any connector will do
// any connector will do
it('adds the connector to the registry', function() {
app.connector('foo-bar', loopback.Memory);
expect(app.connectors['foo-bar']).to.equal(loopback.Memory);