Sha256: 7db5d0257a11aaccb4d153eb1e97ef44d45ef87821a23313f9917e18398d6a3d
Contents?: true
Size: 455 Bytes
Versions: 22
Compression:
Stored size: 455 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'spec_helper')) describe Castronaut::Adapters::Development::Adapter do describe "authenticate" do it "calls authenticate on the nested User model" do Castronaut::Adapters::Development::User.should_receive(:authenticate).with('username', 'password') Castronaut::Adapters::Development::Adapter.authenticate('username', 'password') end end end
Version data entries
22 entries across 22 versions & 6 rubygems
Version | Path |
---|---|
nbudin-castronaut-0.7.5 | spec/castronaut/adapters/development/adapter_spec.rb |
factorylabs-castronaut-0.7.5 | spec/castronaut/adapters/development/adapter_spec.rb |