2014-06-04 16:55:27 -04:00
|
|
|
@profile
|
2012-09-10 05:40:51 -04:00
|
|
|
Feature: Profile SSH Keys
|
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I have ssh key "ssh-rsa Work"
|
2012-06-18 12:34:09 -04:00
|
|
|
And I visit profile keys page
|
|
|
|
|
2012-09-10 05:40:51 -04:00
|
|
|
Scenario: I should see ssh keys
|
2012-06-18 12:34:09 -04:00
|
|
|
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
|