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