diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-08-29 07:58:22 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-08-29 07:58:22 +0300 |
commit | adc71b6a6ae06a96aa82052012ae6e61bd3a9cb1 (patch) | |
tree | 8b57aeae758a326a1fab79c1d275dd78ba94b276 /features | |
parent | 5afb16e4965e41af420211fa35bff0d2d0a07de7 (diff) | |
download | gitlab-ce-adc71b6a6ae06a96aa82052012ae6e61bd3a9cb1.tar.gz |
Fix test i broke with ssk key validation. Added Key.user_id as attr_protected
Diffstat (limited to 'features')
-rw-r--r-- | features/profile/ssh_keys.feature | 4 | ||||
-rw-r--r-- | features/step_definitions/profile/profile_keys_steps.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/profile/ssh_keys.feature b/features/profile/ssh_keys.feature index c3a92f30ee0..c81503ed2ba 100644 --- a/features/profile/ssh_keys.feature +++ b/features/profile/ssh_keys.feature @@ -3,8 +3,8 @@ Feature: SSH Keys Given I signin as a user And I have ssh keys: | title | - | Work | - | Home | + | ssh-rsa Work | + | ssh-rsa Home | And I visit profile keys page Scenario: I should see SSH keys diff --git a/features/step_definitions/profile/profile_keys_steps.rb b/features/step_definitions/profile/profile_keys_steps.rb index 5ab7e0480ad..25926c53f97 100644 --- a/features/step_definitions/profile/profile_keys_steps.rb +++ b/features/step_definitions/profile/profile_keys_steps.rb @@ -16,7 +16,7 @@ end Given /^I submit new ssh key "(.*?)"$/ do |arg1| fill_in "key_title", :with => arg1 - fill_in "key_key", :with => "publickey234=" + fill_in "key_key", :with => "ssh-rsa publickey234=" click_button "Save" end |