Sha256: 394cf960a66a3486095b6a1e45455c4a2e6e43ab8d2ae750c54c07f6913c1da1

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

require 'spec_helper'

describe "issue #37" do
  it "should not happen" do
    default_config
    ldap_user = Adauth.authenticate("administrator", "foo")
    ldap_user.should be_false
    ldap_user = Adauth.authenticate(test_data("domain", "breakable_user"), "")
    ldap_user.should be_false
    ldap_user = Adauth.authenticate(test_data("domain", "query_user"), test_data("domain", "query_password"))
    ldap_user.should be_a Adauth::AdObjects::User
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adauth-2.0.5 spec/adauth_issue_spec.rb