Sha256: bfd51a2db59d2d281180356d5fcc42187faa5b6350524030421e12e302c7dbd0

Contents?: true

Size: 435 Bytes

Versions: 9

Compression:

Stored size: 435 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) { described_class.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

9 entries across 9 versions & 1 rubygems

Version Path
active-fedora-9.7.3 spec/unit/config_spec.rb
active-fedora-9.7.2 spec/unit/config_spec.rb
active-fedora-9.8.2 spec/unit/config_spec.rb
active-fedora-9.8.1 spec/unit/config_spec.rb
active-fedora-9.8.0 spec/unit/config_spec.rb
active-fedora-9.7.1 spec/unit/config_spec.rb
active-fedora-9.7.0 spec/unit/config_spec.rb
active-fedora-9.6.2 spec/unit/config_spec.rb
active-fedora-9.6.1 spec/unit/config_spec.rb