module Archangel::TestingSupport::FillInAuthFormHelpers
Fill in login form helpers for testing
Does not submit the form
Public Instance Methods
fill_in_invitation_form_with(password = "", confirm_password = "")
click to toggle source
# File lib/archangel/testing_support/helpers/fill_in_auth_form_helpers.rb, line 24 def fill_in_invitation_form_with(password = "", confirm_password = "") fill_in_password_with(password, confirm_password) end
fill_in_login_form_with(email = "", password = "")
click to toggle source
# File lib/archangel/testing_support/helpers/fill_in_auth_form_helpers.rb, line 11 def fill_in_login_form_with(email = "", password = "") fill_in "Email", with: email fill_in "Password", with: password end
fill_in_registration_form_with(name = "", username = "", email = "", password = "")
click to toggle source
# File lib/archangel/testing_support/helpers/fill_in_auth_form_helpers.rb, line 16 def fill_in_registration_form_with(name = "", username = "", email = "", password = "") fill_in "Name", with: name fill_in "Username", with: username fill_in "Email", with: email fill_in_password_with(password, password) end