2012-06-18 18:34:09 +02:00
|
|
|
Feature: SSH Keys
|
|
|
|
Background:
|
|
|
|
Given I signin as a user
|
|
|
|
And I have ssh keys:
|
|
|
|
| title |
|
2012-08-29 06:58:22 +02:00
|
|
|
| ssh-rsa Work |
|
|
|
|
| ssh-rsa Home |
|
2012-06-18 18:34:09 +02:00
|
|
|
And I visit profile keys page
|
|
|
|
|
|
|
|
Scenario: I should see SSH keys
|
|
|
|
Then I should see my ssh keys
|
|
|
|
|
|
|
|
Scenario: Add new ssh key
|
|
|
|
Given I click link "Add new"
|
|
|
|
And I submit new ssh key "Laptop"
|
|
|
|
Then I should see new ssh key "Laptop"
|
|
|
|
|
|
|
|
Scenario: Remove ssh key
|
|
|
|
Given I click link "Work"
|
|
|
|
And I click link "Remove"
|
|
|
|
Then I visit profile keys page
|
|
|
|
And I should not see "Work" ssh key
|