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