Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rchipka committed May 24, 2016
1 parent 413bfcc commit c6a6268
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/Command.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/*jslint node: true */

'use strict';

var Data = require('./Data.js'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"needle": "1.0.0",
"libxmljs-dom": "0.0.6"
"libxmljs-dom": "0.0.7"
},
"devDependencies": {
"jscs": ">=3.0.2",
Expand Down
4 changes: 3 additions & 1 deletion test/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

var osmosis = require('../index'),
server = require('./server'),
url = server.host + ':' + server.port,
Expand Down Expand Up @@ -115,7 +117,7 @@ module.exports.instance_cookies = function (assert) {
.done(function () {
osmosis.config('cookies', {});
assert.done();
}).log(console.log).error(console.log);
});

instance.cookie('cookie2', true);

Expand Down
2 changes: 1 addition & 1 deletion test/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports.form = function (assert) {
.then(function (context) {
var div = context.get('div');

assert.ok(div !== null);
assert.ok(div);
assert.equal(div.text(), 'done');
})
.error(function () {
Expand Down

0 comments on commit c6a6268

Please sign in to comment.