Sha256: eb38070b36af59aaaa609c5f01b8e3f358aa1fe86136f9043be64a8c26cd5387

Contents?: true

Size: 226 Bytes

Versions: 1

Compression:

Stored size: 226 Bytes

Contents

module AuthHelper
  def http_login
    username = 'usertesting'
    password = 'usertesting'
    request.env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(username, password)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 spec/support/auth_helper.rb