Sha256: c678d6744bdaedaca7e686cb2a133cce2f9bda9eb7c91e3ed8f2268ccea2b2de

Contents?: true

Size: 1.18 KB

Versions: 5

Compression:

Stored size: 1.18 KB

Contents

require 'minitest/autorun'
require_relative '../../helper'

class TestAuthNModel < MiniTest::Unit::TestCase
  def setup

  end

  # def has_authentication(o = {})
  #   options = AuthN::Config::DEFAULTS.dup
  #   options.merge! AuthN.config if AuthN.config.to_hash
  #   options.merge! o unless o.empty?
  #   config options
  # end
  def test_
    actual =
    expected =
    assert_equal expected, actual
  end

  def test_
    actual =
    expected =
    assert_equal expected, actual
  end

  def test_
    actual =
    expected =
    assert_equal expected, actual
  end

  def test_
    actual =
    expected =
    assert_equal expected, actual
  end

  # def authenticate(identifiers = {})
  #   password = identifiers.delete :password
  #   criteria = where identifiers
  #   instance = criteria.first
  #   if instance && password
  #     if instance.authenticate password
  #       instance
  #     else
  #       false
  #     end
  #   end
  # end
  def test_
    actual =
    expected =
    assert_equal expected, actual
  end

  def test_
    actual =
    expected =
    assert_equal expected, actual
  end

  def test_
    actual =
    expected =
    assert_equal expected, actual
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
authn-2.6.0 test/lib/authn/model_test.rb
authn-2.4.0 test/lib/authn/model_test.rb
authn-2.0.1 test/lib/authn/model_test.rb
authn-2.0.0 test/lib/authn/model_test.rb
authn-1.0.0 test/lib/authn/model_test.rb