ldap_plugin_test.rb 356 Bytes
require File.dirname(__FILE__) + '/../../../../test/test_helper'

class LdapPluginTest < ActiveSupport::TestCase

  should "not allow user registration" do
    plugin = LdapPlugin.new
    refute plugin.allow_user_registration
  end

  should "not allow password recovery" do
    plugin = LdapPlugin.new
    refute plugin.allow_password_recovery
  end

end