Fix test i broke with ssk key validation. Added Key.user_id as attr_protected
This commit is contained in:
parent
5afb16e496
commit
adc71b6a6a
4 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue