test/integration/authentication_test.rb in iqvoc-4.8.1 vs test/integration/authentication_test.rb in iqvoc-4.8.2
- old
+ new
@@ -29,10 +29,10 @@
end
test 'sign out' do
login
visit dashboard_path(lang: :de)
- assert page.has_link?('Abmelden')
- click_link_or_button 'Abmelden'
+ assert page.has_link?(user.name)
+ click_link_or_button user.name
assert page.has_content?('Abmeldung erfolgreich')
end
end