Skip to content

Commit

Permalink
[#2648] Add jslint globals to suites
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 16, 2012
1 parent cacb001 commit 4ad7b4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckan/public/base/test/spec/client.spec.js
@@ -1,3 +1,4 @@
/*globals describe beforeEach afterEach it assert sinon ckan jQuery */
describe('ckan.Client()', function () {
var Client = ckan.Client;

Expand Down Expand Up @@ -27,7 +28,7 @@ describe('ckan.Client()', function () {
});

it('should call request a new auth token', function () {
function success () {}
function success() {}
function error() {}

var target = this.client.getStorageAuth('filename', success, error);
Expand Down
1 change: 1 addition & 0 deletions ckan/public/base/test/spec/notify.spec.js
@@ -1,3 +1,4 @@
/*globals describe beforeEach afterEach it assert sinon ckan jQuery */
describe('ckan.notify()', function () {
beforeEach(function () {
this.element = jQuery('<div />');
Expand Down

0 comments on commit 4ad7b4b

Please sign in to comment.