test/test-git.rb in rake-delphi-0.0.4 vs test/test-git.rb in rake-delphi-0.0.5
- old
+ new
@@ -13,11 +13,11 @@
@test_git_dir = File.expand_path('../tmp', __FILE__)
FileUtils.mkdir_p(@test_git_dir)
Rake::Delphi::ChDir.new(@rake_task, @test_git_dir) do
`rm -rf .git *`
`git init .`
- `git config --global user.email "git@test.ru"`
- `git config --global user.name "Git test"`
+ `git config user.email "git@test.ru"`
+ `git config user.name "Git test"`
`echo file content > file.txt`
`git add file.txt`
`git commit -m "first commit"`
end
end