Sha256: 155c459db302e08e5b3ffbe4e8ec12d083108373b10f4833279b894d5eda3027
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 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-6.8.0 | spec/unit/rubydora_connection_spec.rb |