-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #240 from pearkes/fix_ssh_key_id_as_fixnum
Fix ssh key id as fixnum
- Loading branch information
Showing
3 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
features/cassettes/config/Single_SSH_key_as_number_in_config.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Feature: config | ||
In order to easily load DigitalOcean config | ||
As a user | ||
I should be able to supply an ssh key as a number | ||
|
||
@vcr | ||
Scenario: Single SSH key as number in config | ||
Given a '.tugboat' config with data: | ||
""" | ||
--- | ||
authentication: | ||
access_token: faketokenazukxeh729ggxh9gjavvzw5cabdpq95txpzhz6ep6jvtquxztfkf2chyejcsg5 | ||
ssh: | ||
ssh_user: root | ||
ssh_key_path: "~/.ssh/id_rsa" | ||
ssh_port: '22' | ||
defaults: | ||
region: nyc2 | ||
image: ubuntu-14-04-x64 | ||
size: 512mb | ||
ssh_key: 27100 | ||
private_networking: 'false' | ||
backups_enabled: 'false' | ||
ip6: 'false' | ||
""" | ||
When I run `tugboat create number-based-key` | ||
Then the exit status should not be 1 | ||
And the output should contain "Queueing creation of droplet 'number-based-key'...Droplet created!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters