internetee-registry/test/system/registrar_area/sign_out_test.rb
2019-09-03 18:40:52 +03:00

15 lines
No EOL
329 B
Ruby

require 'application_system_test_case'
class RegistrarAreaSignOutTest < ApplicationSystemTestCase
setup do
sign_in users(:api_bestnames)
end
def test_logout
visit registrar_root_url
click_on 'Log out'
assert_text 'Signed out successfully'
assert_current_path new_registrar_user_session_path
end
end