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