Skip to content

Commit

Permalink
Make sure that user can git commit on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
sikachu committed May 27, 2013
1 parent b5eae71 commit fdc2319
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion features/step_definitions/dependency_steps.rb
Expand Up @@ -9,7 +9,11 @@
Given /^a git repository exists for gem "(.*?)" with version "(.*?)"$/ do |gem_name, version|
build_gem(gem_name, version)
cd gem_name
in_current_dir { `git init . && git add . && git commit -a -m 'initial commit'` }
run_simple 'git init .'
run_simple 'git config user.email "appraisal@thoughtbot.com"'
run_simple 'git config user.name "Appraisal"'
run_simple 'git add .'
run_simple 'git commit -a -m "initial commit"'
dirs.pop
end

Expand Down

0 comments on commit fdc2319

Please sign in to comment.