require "application_system_test_case" class UsersTest < ApplicationSystemTestCase test "go to login page" do visit new_user_session_path fill_in 'user[email]', with: 'admin@debian.ork' fill_in 'user[password]', with: 'adminsecret' click_on 'commit' assert_text 'Signed in successfully' end end