Skip to content
This repository has been archived by the owner on Mar 18, 2018. It is now read-only.

Commit

Permalink
Update expected test behavior to include multi-step-prep single-atomi…
Browse files Browse the repository at this point in the history
…c symlink change.
  • Loading branch information
travco committed Aug 2, 2016
1 parent e68dba3 commit a277e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/tasks/deploy/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('deploy:publish task', function () {
shipit.start('deploy:publish', function (err) {
if (err) return done(err);
expect(shipit.currentPath).to.equal('/remote/deploy/current');
expect(shipit.remote).to.be.calledWith('cd /remote/deploy && if [[ -d current && ! (-L current) ]]; then ln -nfs releases/20141704123138 current;else echo "ERR: could not make symlink"; fi');
expect(shipit.remote).to.be.calledWith('cd /remote/deploy && if [[ -d current && ! (-L current) ]]; then echo "ERR: could not make symlink"; else ln -nfs releases/20141704123138 current_tmp && mv -fT current_tmp current; fi');
done();
});
});
Expand Down

0 comments on commit a277e6a

Please sign in to comment.