Sha256: 4635dc13b21154cac3968d0bad66c1694fc811893b907022e0b7214d2fac89c1

Contents?: true

Size: 235 Bytes

Versions: 30

Compression:

Stored size: 235 Bytes

Contents

# frozen_string_literal: true

module ActionController
  class TestCase
    include ::Devise::Test::ControllerHelpers

    setup do
      sign_in ::EacUsersSupport::User.find_or_create_by!(email: 'admin@example.com')
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
eac_users_support-0.8.0 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.7.1 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.7.0 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.6.1 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.6.0 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.5.1 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.5.0 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.4.0 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.3.4 lib/eac_users_support/patches/action_controller_test_case.rb
eac_users_support-0.3.3 lib/eac_users_support/patches/action_controller_test_case.rb