Use buton value instead of type to nallow target

This commit is contained in:
yoshihara 2015-04-08 18:41:53 +09:00
parent d5e0dd3026
commit d6d7aa0b9b

View File

@ -27,7 +27,7 @@ describe "users" do
fill_in 'user[password]', with: password
fill_in 'user[password_confirmation]', with: password_confirmation
find('input[type="submit"]').click
click_button I18n.t("terms.update_password")
end
context 'when valid new password/confirmation is input' do