Sha256: 56989451796fb59a0b0fb4a94ead91d42861f83fdab77b03b0463eea453b90c7

Contents?: true

Size: 441 Bytes

Versions: 33

Compression:

Stored size: 441 Bytes

Contents

require 'spec_helper'

describe ActiveFedora::Config do
  context "with a single fedora instance" do
    let(:yaml) { Psych.load(File.read('spec/fixtures/rails_root/config/fedora.yml'))['test'] }
    let(:conf) { ActiveFedora::Config.new(yaml) }

    describe "#credentials" do
      subject { conf.credentials }
      it { should eq(url: 'http://testhost.com:8983/fedora', user: 'fedoraAdmin', password: 'fedoraAdmin') }
    end

  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
active-fedora-9.0.8 spec/unit/config_spec.rb
active-fedora-9.5.0 spec/unit/config_spec.rb
active-fedora-9.4.3 spec/unit/config_spec.rb
active-fedora-9.4.2 spec/unit/config_spec.rb
active-fedora-9.4.1 spec/unit/config_spec.rb
active-fedora-9.4.0 spec/unit/config_spec.rb
active-fedora-9.3.0 spec/unit/config_spec.rb
active-fedora-9.2.1 spec/unit/config_spec.rb
active-fedora-9.2.0 spec/unit/config_spec.rb
active-fedora-9.2.0.rc2 spec/unit/config_spec.rb
active-fedora-9.2.0.rc1 spec/unit/config_spec.rb
active-fedora-9.1.2 spec/unit/config_spec.rb
active-fedora-9.1.1 spec/unit/config_spec.rb
active-fedora-9.1.0 spec/unit/config_spec.rb
active-fedora-9.1.0.rc1 spec/unit/config_spec.rb
active-fedora-9.0.6 spec/unit/config_spec.rb
active-fedora-9.0.5 spec/unit/config_spec.rb
active-fedora-9.0.4 spec/unit/config_spec.rb
active-fedora-9.0.3 spec/unit/config_spec.rb
active-fedora-9.0.2 spec/unit/config_spec.rb