Skip to content
Browse files

change way to execute git commands

  • Loading branch information...
1 parent aa25c82 commit 805ae33935658a6b12dd9270fae9fdea0b4a9628 @helios committed Apr 29, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test_bio-gem.rb
View
4 test/test_bio-gem.rb
@@ -13,8 +13,8 @@ def basic_generated_files(project_name)
def setup
# check and create test directory
- sh 'git config --global user.email "git@example.com"' if `git config user.email`.empty?
- sh 'git config --global user.name "GitExample"' if `git config user.name`.empty?
+ `git config --global user.email "git@example.com"` if `git config user.email`.empty?
+ `git config --global user.name "GitExample"` if `git config user.name`.empty?
FileUtils.rm_rf(TEST_DIR) if Dir.exist?(TEST_DIR)
Dir.mkdir TEST_DIR
end

0 comments on commit 805ae33

Please sign in to comment.
Something went wrong with that request. Please try again.