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-5.0.0.rc3 spec/unit/rubydora_connection_spec.rb
active-fedora-5.0.0.rc2 spec/unit/rubydora_connection_spec.rb
active-fedora-5.0.0.rc1 spec/unit/rubydora_connection_spec.rb
active-fedora-4.6.0.rc4 spec/unit/rubydora_connection_spec.rb
active-fedora-4.6.0.rc3 spec/unit/rubydora_connection_spec.rb
active-fedora-4.6.0.rc2 spec/unit/rubydora_connection_spec.rb
active-fedora-4.6.0.rc1 spec/unit/rubydora_connection_spec.rb
active-fedora-4.5.3 spec/unit/rubydora_connection_spec.rb
active-fedora-4.5.2 spec/unit/rubydora_connection_spec.rb
active-fedora-4.5.1 spec/unit/rubydora_connection_spec.rb
active-fedora-4.5.0 spec/unit/rubydora_connection_spec.rb
active-fedora-4.4.1 spec/unit/rubydora_connection_spec.rb
active-fedora-4.4.0 spec/unit/rubydora_connection_spec.rb
active-fedora-4.3.0 spec/unit/rubydora_connection_spec.rb
active-fedora-4.2.0 spec/unit/rubydora_connection_spec.rb
active-fedora-4.1.0 spec/unit/rubydora_connection_spec.rb
active-fedora-4.0.0 spec/unit/rubydora_connection_spec.rb
active-fedora-4.0.0.rc20 spec/unit/rubydora_connection_spec.rb
active-fedora-4.0.0.rc19 spec/unit/rubydora_connection_spec.rb
active-fedora-4.0.0.rc18 spec/unit/rubydora_connection_spec.rb