Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Commit f283faa

Browse files
author
David Varvel and Matt Royal
committed
Fix tests with updated verbiage.
1 parent 0cf6f48 commit f283faa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/pivotal_git_scripts/git_pair.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def commit(argv)
5252
puts 'Usage: git pair-commit [options_for_git_commit]'
5353
puts ''
5454
puts 'Commits changes to the repository using `git commit`, but randomly chooses the author email from the'
55-
puts 'member of the pair. In order for GitHub to assign credit for the commit activity, the user\'s email'
55+
puts 'members of the pair. In order for GitHub to assign credit for the commit activity, the user\'s email'
5656
puts 'must be linked in their GitHub account.'
5757
exit 0
5858
end

spec/cli_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def git_config_value(name, global = false)
337337
context 'when -h flag is passed' do
338338
it 'shows the help message' do
339339
results = run 'git pair-commit -h'
340-
results.should include('randomly chooses an email address from the pair to use for the commit')
340+
results.gsub(/\s+/, ' ').should include('randomly chooses the author email from the members of the pair')
341341
end
342342
end
343343

0 commit comments

Comments
 (0)