Skip to content

Commit

Permalink
Custom promise test
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas committed Mar 5, 2017
1 parent c69c78a commit 9dcdce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("#promises", function() {

it("should runAsync a command", function(done) {
this.timeout(30000);

docker.run(testImage, ['bash', '-c', 'uname -a'], process.stdout).then(function(container) {
expect(container).to.be.ok;
return container.remove();
Expand All @@ -61,7 +61,7 @@ describe("#promises", function() {
it("should start->stop->remove a container with Bluebird", function(done) {
this.timeout(60000);

docker.createContainer({
dockerp.createContainer({
Image: 'ubuntu',
AttachStdin: false,
AttachStdout: true,
Expand Down

0 comments on commit 9dcdce6

Please sign in to comment.