summaryrefslogtreecommitdiff
path: root/features/profile
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 02:40:51 -0700
committerNihad Abbasov <narkoz.2008@gmail.com>2012-09-10 02:40:51 -0700
commit7aeb92b8e4bb279346d9dcec7bbca1725cec8eb1 (patch)
tree94e66cdcb0a7172956ff1ecf56cba72d0609c086 /features/profile
parentd74f54736b8aabb3885648c44d7e253209b8e9e1 (diff)
downloadgitlab-ce-7aeb92b8e4bb279346d9dcec7bbca1725cec8eb1.tar.gz
rewrite profile feature steps using spinach
Diffstat (limited to 'features/profile')
-rw-r--r--features/profile/profile.feature4
-rw-r--r--features/profile/ssh_keys.feature13
2 files changed, 7 insertions, 10 deletions
diff --git a/features/profile/profile.feature b/features/profile/profile.feature
index afda4b55081..f4b2f198f0a 100644
--- a/features/profile/profile.feature
+++ b/features/profile/profile.feature
@@ -1,6 +1,6 @@
Feature: Profile
- Background:
- Given I signin as a user
+ Background:
+ Given I sign in as a user
Scenario: I look at my profile
Given I visit profile page
diff --git a/features/profile/ssh_keys.feature b/features/profile/ssh_keys.feature
index c81503ed2ba..018d124e412 100644
--- a/features/profile/ssh_keys.feature
+++ b/features/profile/ssh_keys.feature
@@ -1,13 +1,10 @@
-Feature: SSH Keys
- Background:
- Given I signin as a user
- And I have ssh keys:
- | title |
- | ssh-rsa Work |
- | ssh-rsa Home |
+Feature: Profile SSH Keys
+ Background:
+ Given I sign in as a user
+ And I have ssh key "ssh-rsa Work"
And I visit profile keys page
- Scenario: I should see SSH keys
+ Scenario: I should see ssh keys
Then I should see my ssh keys
Scenario: Add new ssh key