Skip to content

Commit

Permalink
Merge pull request #1 from gnomus/master
Browse files Browse the repository at this point in the history
fix typo in try again message
  • Loading branch information
matthutchinson committed Nov 13, 2017
2 parents 80ef596 + 495bf16 commit 7db9293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lolcommits/plugin/slack.rb
Expand Up @@ -70,7 +70,7 @@ def run_capture_ready
else
print " - giving up ...\n"
puts 'Try running config again:'
puts "\tlolcommits --config --p slack"
puts "\tlolcommits --config -p slack"
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/lolcommits/plugin/slack_test.rb
Expand Up @@ -74,7 +74,7 @@ def valid_enabled_config
plugin.config = valid_enabled_config

Proc.new { plugin.run_capture_ready }.
must_output("Posting to Slack ... failed! Request Timeout - retrying ...\nPosting to Slack ... failed! Request Timeout - giving up ...\nTry running config again:\n\tlolcommits --config --p slack\n")
must_output("Posting to Slack ... failed! Request Timeout - retrying ...\nPosting to Slack ... failed! Request Timeout - giving up ...\nTry running config again:\n\tlolcommits --config -p slack\n")

assert_requested :post, plugin.class::ENDPOINT_URL,
headers: { 'Content-Type' => /multipart\/form-data;/ },
Expand Down

0 comments on commit 7db9293

Please sign in to comment.