diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 02:40:51 -0700 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-10 02:40:51 -0700 |
commit | 7aeb92b8e4bb279346d9dcec7bbca1725cec8eb1 (patch) | |
tree | 94e66cdcb0a7172956ff1ecf56cba72d0609c086 /features/profile | |
parent | d74f54736b8aabb3885648c44d7e253209b8e9e1 (diff) | |
download | gitlab-ce-7aeb92b8e4bb279346d9dcec7bbca1725cec8eb1.tar.gz |
rewrite profile feature steps using spinach
Diffstat (limited to 'features/profile')
-rw-r--r-- | features/profile/profile.feature | 4 | ||||
-rw-r--r-- | features/profile/ssh_keys.feature | 13 |
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 |