fixed jshint issues

This commit is contained in:
Laurent Lepinay
2015-04-20 10:32:33 +02:00
parent f3ee0a436c
commit 78c7dda0a9
43 changed files with 5164 additions and 14 deletions

View File

@@ -114,13 +114,13 @@ describe('swagger 2.0 spec tests', function () {
});
});
["root.id","root.username","root.firstName","root.lastName", "root.email", "root.password", "root.phone", "root.userStatus"]
['root.id','root.username','root.firstName','root.lastName', 'root.email', 'root.password', 'root.phone', 'root.userStatus']
.forEach(function (id) {
it('should find a jsoneditor for user post with field: ' + id, function (done) {
var locator = webdriver.By.xpath("//*[@id='user_createUser']//*[@data-schemapath='"+id+"']");
var locator = webdriver.By.xpath('//*[@id=\'user_createUser\']//*[@data-schemapath=\''+id+'\']');
driver
.wait(webdriver.until.elementLocated(locator),2000)
.then(function(el) { done(); });
.then(function() { done(); });
});
});