Sha256: 75336a9480512586d358a976568f60fb5b1f1edd1b1a7d1bbb2d2f1f291b1252
Contents?: true
Size: 569 Bytes
Versions: 9
Compression:
Stored size: 569 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' }).twice.and_call_original subject.authorized_connection } end end end
Version data entries
9 entries across 9 versions & 1 rubygems