summaryrefslogtreecommitdiff
path: root/features/profile
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-06-18 19:34:09 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-18 19:34:09 +0300
commit22d6dc2b3b1392341c765932b706bd867c66c5f9 (patch)
tree3d4d78db40130ea79b131fdf3327497a8eefb592 /features/profile
parenteb00cb69dd8bf1b0db7d84e4c27076b1b8d23e09 (diff)
downloadgitlab-ce-22d6dc2b3b1392341c765932b706bd867c66c5f9.tar.gz
Cucumber features: Team, SSH keys
Diffstat (limited to 'features/profile')
-rw-r--r--features/profile/ssh_keys.feature22
1 files changed, 22 insertions, 0 deletions
diff --git a/features/profile/ssh_keys.feature b/features/profile/ssh_keys.feature
index e69de29bb2d..c3a92f30ee0 100644
--- a/features/profile/ssh_keys.feature
+++ b/features/profile/ssh_keys.feature
@@ -0,0 +1,22 @@
+Feature: SSH Keys
+ Background:
+ Given I signin as a user
+ And I have ssh keys:
+ | title |
+ | Work |
+ | Home |
+ 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