Skip to content

Commit

Permalink
fix broken test introduced with D20231
Browse files Browse the repository at this point in the history
Summary:
the integration tests validate which hooks are installed, and was
failing because it was not updated to expect the new pre-rebase hook

Test Plan: - make tests

Reviewers: csilvers

Reviewed By: csilvers

Differential Revision: https://phabricator.khanacademy.org/D20238
  • Loading branch information
Matthew Rothenberg committed Aug 6, 2015
1 parent bfd3845 commit d69c4ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SETUP: let us assume a user named fleetwood, and add ka-clone to our PATH:
$ git init --quiet $CRAMTMP/testrepo
$ export USER=fleetwood
$ export REPO=$CRAMTMP/testrepo/.git
$ export PATH=$PATH:$TESTDIR/../bin
$ export PATH=$TESTDIR/../bin:$PATH

SETUP: we'll also want to mock the HOMEDIR, so we can emulate whether the user
has certain configuration files installed.
Expand Down Expand Up @@ -69,6 +69,7 @@ We can clone repos in a way that pushing to master is protected:
.git/hooks/commit-msg
.git/hooks/pre-commit
.git/hooks/pre-push
.git/hooks/pre-rebase

But wait, say you have a repository that has already been cloned, which means
that it probably doesn't have all the tasty goodness...:
Expand Down

0 comments on commit d69c4ce

Please sign in to comment.