Sha256: d903d1e07acda6960f81bb5c309f08c12466fd63fb0d647b9af802c09f5173d0

Contents?: true

Size: 376 Bytes

Versions: 9

Compression:

Stored size: 376 Bytes

Contents

require "test_helper"

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

  def admin_sign_in_as(user)
    visit admin_sign_in_url
    fill_in :email, with: user.email
    fill_in :password, with: "Secret1*3*5*"
    click_on "Sign in"
    assert_current_path admin_url

    return user
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
administration-zero-0.0.9 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.8 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.7 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.6 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.5 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.4 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.3 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.2 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb
administration-zero-0.0.1 lib/generators/admin/install/templates/test_unit/application_system_test_case.rb