Sha256: a32a00e74e6a180590259cc05e0e4b3fa6c2acba1246231e2e2a89580a8998b4

Contents?: true

Size: 157 Bytes

Versions: 1

Compression:

Stored size: 157 Bytes

Contents

module Authentication
  def logged_in
    @user ||= create(:user)
    sign_in(@user)
  end

  def current_user
    controller.send(:current_user)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_masquerade-0.1.3 spec/support/authentication.rb