improve selectors to pass capybara 2.0

This commit is contained in:
Dmitriy Zaporozhets 2013-02-21 11:27:22 +02:00
parent 03f6a28ec0
commit 42ce2c1080
4 changed files with 21 additions and 16 deletions

View file

@ -9,7 +9,7 @@
%fieldset
%fieldset.update-token
%legend
Private token
%span.cred.pull-right
@ -29,7 +29,7 @@
%span You don`t have one yet. Click generate to fix it.
= f.submit 'Generate', class: "btn success btn-build-token"
%fieldset
%fieldset.update-password
%legend Password
= form_for @user, url: update_password_profile_path, method: :put do |f|
.padded