1
0
mirror of https://github.com/danog/gift.git synced 2024-11-26 20:04:47 +01:00

for Travis: make use of Repo#identify to ensure that our repository has an identity set when running the #create_tag test

This commit is contained in:
Luke Plaster 2013-03-14 23:51:42 +00:00
parent 2ece84faf6
commit 1846098db7

View File

@ -235,6 +235,7 @@ describe "Repo", ->
git.init git_dir, (err) -> git.init git_dir, (err) ->
return done err if err return done err if err
repo = git(git_dir) repo = git(git_dir)
repo.identify new Actor('name', 'em@il'), ->
fs.writeFileSync "#{git_dir}/foo.txt", "cheese" fs.writeFileSync "#{git_dir}/foo.txt", "cheese"
repo.add "#{git_dir}/foo.txt", (err) -> repo.add "#{git_dir}/foo.txt", (err) ->
return done err if err return done err if err