Skip to content

Commit

Permalink
Fix git tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Feb 16, 2012
1 parent 051e64c commit ce2f2fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/repo.git/HEAD
@@ -1 +1 @@
5dd2446fdadd1d21bb1e2c1a2fb161a8fe3f1fe1
ref: refs/heads/master
5 changes: 3 additions & 2 deletions resources/repo.git/config
@@ -1,6 +1,7 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
bare = true
ignorecase = true
[remote "origin"]
url = /Users/wdavidw/www/src/node/adaltas/heco/mecano/resources/../repo
6 changes: 3 additions & 3 deletions test/git.coffee
Expand Up @@ -41,15 +41,15 @@ module.exports =
assert.ifError err
mecano.git
source: "#{__dirname}/../resources/repo.git"
destination: "#{__dirname}/repo"
destination: "#{__dirname}/my_repo"
revision: 'v0.0.1'
, (err, updated) ->
assert.eql updated, 1
mecano.git
source: "#{__dirname}/../resources/repo.git"
destination: "#{__dirname}/repo"
destination: "#{__dirname}/my_repo"
revision: 'v0.0.1'
, (err, updated) ->
assert.eql updated, 0
mecano.rm "#{__dirname}/repo", next
mecano.rm "#{__dirname}/my_repo", next

0 comments on commit ce2f2fb

Please sign in to comment.