Skip to content

Commit

Permalink
Fix tests with updated verbiage.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Varvel and Matt Royal committed Dec 16, 2013
1 parent 0cf6f48 commit f283faa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pivotal_git_scripts/git_pair.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def commit(argv)
puts 'Usage: git pair-commit [options_for_git_commit]'
puts ''
puts 'Commits changes to the repository using `git commit`, but randomly chooses the author email from the'
puts 'member of the pair. In order for GitHub to assign credit for the commit activity, the user\'s email'
puts 'members of the pair. In order for GitHub to assign credit for the commit activity, the user\'s email'
puts 'must be linked in their GitHub account.'
exit 0
end
Expand Down
2 changes: 1 addition & 1 deletion spec/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def git_config_value(name, global = false)
context 'when -h flag is passed' do
it 'shows the help message' do
results = run 'git pair-commit -h'
results.should include('randomly chooses an email address from the pair to use for the commit')
results.gsub(/\s+/, ' ').should include('randomly chooses the author email from the members of the pair')
end
end

Expand Down

0 comments on commit f283faa

Please sign in to comment.