Permalink
Browse files

Fix a cucumber step that was only accidentally working

  • Loading branch information...
1 parent 0b42c3f commit 65880e36eb9209eb8b5734723a057446d8acf7ef @chrisk chrisk committed Dec 14, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 features/step_definitions/config_steps.rb
@@ -1,5 +1,5 @@
-When /^I add an author named "([^\"]*)"$/ do |name|
- git_pair '--add "Linus Torvalds"'
+When /^I add the author "([^\"]*)"$/ do |name|
+ git_pair %(--add "#{name}")
end
Then /^`git pair` should display "([^\"]*)" in its author list$/ do |name|

0 comments on commit 65880e3

Please sign in to comment.