fix some typos. (#4112)

* fix some typos.

* more typos....
This commit is contained in:
Arthur Cinader
2017-08-29 11:20:51 -07:00
committed by Florent Vilmart
parent f8403943ab
commit a103871cbc
4 changed files with 13 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ var defaultColumns = require('../src/Controllers/SchemaController').defaultColum
var authenticationLoader = require('../src/Adapters/Auth');
var path = require('path');
describe('AuthenticationProviers', function() {
describe('AuthenticationProviders', function() {
["facebook", "github", "instagram", "google", "linkedin", "meetup", "twitter", "janrainengage", "janraincapture", "vkontakte"].map(function(providerName){
it("Should validate structure of " + providerName, (done) => {
var provider = require("../src/Adapters/Auth/" + providerName);
@@ -230,10 +230,10 @@ describe('AuthenticationProviers', function() {
expect(typeof validator).toBe('function');
}
function validateAuthenticationHandler(authenticatonHandler) {
expect(authenticatonHandler).not.toBeUndefined();
expect(typeof authenticatonHandler.getValidatorForProvider).toBe('function');
expect(typeof authenticatonHandler.getValidatorForProvider).toBe('function');
function validateAuthenticationHandler(authenticationHandler) {
expect(authenticationHandler).not.toBeUndefined();
expect(typeof authenticationHandler.getValidatorForProvider).toBe('function');
expect(typeof authenticationHandler.getValidatorForProvider).toBe('function');
}
function validateAuthenticationAdapter(authAdapter) {