Sha256: 48a38929c65f4af7ca68ab5dc27cf099d8d3e02806e12a31ba93338fde29adc2

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 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

3 entries across 3 versions & 1 rubygems

Version Path
adauth-2.0.4 spec/adauth_issue_spec.rb
adauth-2.0.3 spec/adauth_issue_spec.rb
adauth-2.0.2 spec/adauth_issue_spec.rb