From 22d6dc2b3b1392341c765932b706bd867c66c5f9 Mon Sep 17 00:00:00 2001 From: randx Date: Mon, 18 Jun 2012 19:34:09 +0300 Subject: Cucumber features: Team, SSH keys --- features/profile/ssh_keys.feature | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'features/profile') 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 -- cgit v1.2.3