Sha256: 6ec55e3e6406ea7e791b263d75e177187430c7206dbc8574b9bbe6c473bcd450

Contents?: true

Size: 558 Bytes

Versions: 137

Compression:

Stored size: 558 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
      @instance.connection.client.options[:timeout].should == 3600
      @instance.connection.config[:validateChecksum].should == true
      @instance.connection.client.options.has_key?(:fake_option).should be_false
    end
  end
end

Version data entries

137 entries across 137 versions & 1 rubygems

Version Path
active-fedora-7.3.1 spec/unit/rubydora_connection_spec.rb
active-fedora-7.3.0 spec/unit/rubydora_connection_spec.rb
active-fedora-8.2.1 spec/unit/rubydora_connection_spec.rb
active-fedora-8.2.0 spec/unit/rubydora_connection_spec.rb
active-fedora-7.2.0 spec/unit/rubydora_connection_spec.rb
active-fedora-8.1.0 spec/unit/rubydora_connection_spec.rb
active-fedora-8.0.1 spec/unit/rubydora_connection_spec.rb
active-fedora-8.0.0 spec/unit/rubydora_connection_spec.rb
active-fedora-8.0.0.rc3 spec/unit/rubydora_connection_spec.rb
active-fedora-8.0.0.rc2 spec/unit/rubydora_connection_spec.rb
active-fedora-8.0.0.rc1 spec/unit/rubydora_connection_spec.rb
active-fedora-7.1.2 spec/unit/rubydora_connection_spec.rb
active-fedora-7.1.1 spec/unit/rubydora_connection_spec.rb
active-fedora-7.1.0 spec/unit/rubydora_connection_spec.rb
active-fedora-6.7.8 spec/unit/rubydora_connection_spec.rb
active-fedora-7.0.4 spec/unit/rubydora_connection_spec.rb
active-fedora-7.0.3 spec/unit/rubydora_connection_spec.rb
active-fedora-7.0.2 spec/unit/rubydora_connection_spec.rb
active-fedora-7.0.1 spec/unit/rubydora_connection_spec.rb
active-fedora-7.0.0 spec/unit/rubydora_connection_spec.rb