Sha256: 6679d3d2039e7ca9a99a0dcf4edca2cb1f32f8a3f655298ddc91a5f9675829b9

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

Stored size: 429 Bytes

Contents

require "test_helper"

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  driven_by :selenium, using: :chrome, screen_size: [1400, 1400]

  def sign_in_as(<%= singular_table_name %>)
    visit sign_in_url
    fill_in :email, with: <%= singular_table_name %>.email
    fill_in :password, with: "Secret1*3*5*"
    click_on "Sign in"

    assert_current_path root_url
    return <%= singular_table_name %>
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authentication-zero-2.10.0 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.9.3 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt