Sha256: ef0a78af12dd331491f07255c566de4fb3c247a4344c46720fbc68ba006e4631
Contents?: true
Size: 563 Bytes
Versions: 15
Compression:
Stored size: 563 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Fedora do subject { described_class.new(config) } describe "#authorized_connection" do describe "with SSL options" do let(:config) { { url: "https://example.com", user: "fedoraAdmin", password: "fedoraAdmin", ssl: { ca_path: '/path/to/certs' } } } specify { expect(Faraday).to receive(:new).with("https://example.com", ssl: { ca_path: '/path/to/certs' }).and_call_original subject.authorized_connection } end end end
Version data entries
15 entries across 15 versions & 1 rubygems