debshots/test/system/users_test.rb

14 lines
323 B
Ruby

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