Skip to content

Commit

Permalink
Merge pull request #152 from pearkes/fix_incorrect_url
Browse files Browse the repository at this point in the history
Fixes incorrect link
  • Loading branch information
petems committed Jan 31, 2015
2 parents 68d207c + e4dd5e6 commit 7f25f55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/tugboat/middleware/ask_for_credentials.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Middleware
class AskForCredentials < Base
def call(env)
say "Note: You can get this information from https://cloud.digitalocean.com/api_access", :yellow
say "Also Note: Tugboat is setup to work with v1 of the Digital Ocean API (https://developers.digitalocean.com/v1/regions/)", :yellow
say "Also Note: Tugboat is setup to work with v1 of the Digital Ocean API (https://developers.digitalocean.com/v1/)", :yellow
say
client_key = ask "Enter your client key:"
api_key = ask "Enter your API key:"
Expand Down
4 changes: 2 additions & 2 deletions spec/cli/authorize_cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
@cli.authorize

expect($stdout.string).to include("Note: You can get this information from https://cloud.digitalocean.com/api_access")
expect($stdout.string).to include("Also Note: Tugboat is setup to work with v1 of the Digital Ocean API (https://developers.digitalocean.com/v1/regions/)")
expect($stdout.string).to include("Also Note: Tugboat is setup to work with v1 of the Digital Ocean API (https://developers.digitalocean.com/v1/)")
expect($stdout.string).to include("To retrieve region, image, size and key ID's, you can use the corresponding tugboat command, such as `tugboat images`.")
expect($stdout.string).to include("Defaults can be changed at any time in your ~/.tugboat configuration file.")

Expand Down Expand Up @@ -88,7 +88,7 @@
@cli.authorize

expect($stdout.string).to include("Note: You can get this information from https://cloud.digitalocean.com/api_access")
expect($stdout.string).to include("Also Note: Tugboat is setup to work with v1 of the Digital Ocean API (https://developers.digitalocean.com/v1/regions/)")
expect($stdout.string).to include("Also Note: Tugboat is setup to work with v1 of the Digital Ocean API (https://developers.digitalocean.com/v1/)")
expect($stdout.string).to include("To retrieve region, image, size and key ID's, you can use the corresponding tugboat command, such as `tugboat images`.")
expect($stdout.string).to include("Defaults can be changed at any time in your ~/.tugboat configuration file.")

Expand Down

0 comments on commit 7f25f55

Please sign in to comment.