Sha256: c2ee452cb91abfdf51aa18fa585b95b97435442d840f6b2e99a70266dcd21289
Contents?: true
Size: 573 Bytes
Versions: 1
Compression:
Stored size: 573 Bytes
Contents
require 'spec_helper' require 'active_fedora/rubydora_connection' describe ActiveFedora::RubydoraConnection do describe 'initialize' do it "should pass through valid options" do @instance = ActiveFedora::RubydoraConnection.new :timeout => 3600, :fake_option => :missing, :force => true, :validateChecksum=>true expect(@instance.connection.client.options[:timeout]).to eq(3600) expect(@instance.connection.config[:validateChecksum]).to eq(true) expect(@instance.connection.client.options.has_key?(:fake_option)).to be_falsey end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active-fedora-8.2.2 | spec/unit/rubydora_connection_spec.rb |