Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
Fix tests dependent on addons create w/ contain (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ransom Briggs authored Apr 5, 2017
1 parent e975621 commit a831edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/commands/fork.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('fork', function() {
this.timeout(2500);

return cmd.run({flags: {from: 'from', to: 'to'}, args: {}}).then(function() {
expect('Setting buildpacks... done\nCreating mandrill:starter on to... !\n').to.equal(cli.stderr);
expect(cli.stderr).to.contain('Setting buildpacks... done\n');
expect('').to.equal(cli.stdout);
});
});
Expand All @@ -102,7 +102,7 @@ describe('fork', function() {
return cmd.run({flags: {from: 'from', to: 'to'}, args: {}}).catch(function(err) {
thrown = true;
expect(500).to.equal(err.statusCode);
expect('Setting buildpacks... done\nCreating mandrill:starter on to... !\n').to.equal(cli.stderr);
expect(cli.stderr).to.contain('Setting buildpacks... done\n');
expect('').to.equal(cli.stdout);
}).then(function() {
expect(thrown).to.equal(true);
Expand Down

0 comments on commit a831edf

Please sign in to comment.