Sha256: 2b66fe7246cf4633c34569658072b1c2ae820f9357d0dcf0510d9b07c7cd36d7

Contents?: true

Size: 434 Bytes

Versions: 22

Compression:

Stored size: 434 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper'))

describe Castronaut::Adapters::Ldap::Adapter do

  describe "authenticate" do
    
    it "calls authenticate on the nested User model" do
      Castronaut::Adapters::Ldap::User.should_receive(:authenticate).with('username', 'password')
      Castronaut::Adapters::Ldap::Adapter.authenticate('username', 'password')
    end
    
  end

end

Version data entries

22 entries across 22 versions & 6 rubygems

Version Path
3mix-castronaut-0.5.0.2 spec/castronaut/adapters/ldap/adapter_spec.rb
masover-castronaut-0.4.4.4 spec/castronaut/adapters/ldap/adapter_spec.rb
masover-castronaut-0.4.4.5 spec/castronaut/adapters/ldap/adapter_spec.rb
masover-castronaut-0.5.0.1 spec/castronaut/adapters/ldap/adapter_spec.rb
p8-castronaut-0.6.1.1 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.4.1 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.4.2 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.4.3 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.4.4 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.4.5 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.4.6 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.5.0 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.5.1 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.5.2 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.5.3 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.5.4 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.6.0 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.6.1 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.7.4 spec/castronaut/adapters/ldap/adapter_spec.rb
relevance-castronaut-0.7.5 spec/castronaut/adapters/ldap/adapter_spec.rb