test/integration/sessions_test.rb in quo_vadis-2.1.6 vs test/integration/sessions_test.rb in quo_vadis-2.1.7
- old
+ new
@@ -52,10 +52,10 @@
# on phone, list sessions
phone.get quo_vadis.sessions_path
phone.assert_response :success
phone.assert_select 'td', 'This session'
- phone.assert_select 'td input[type=submit][value="Log out"]', 1
+ phone.assert_select 'td button[type=submit]', text: 'Log out', count: 1
# on phone, log out the desktop session
phone.delete quo_vadis.session_path(QuoVadis::Session.first.id)
phone.assert_redirected_to quo_vadis.sessions_path