Sha256: 8a70ded34a006dc47de5e8c5cc2ab39645be0849c5bd8c853d0eb40c0fab91c3
Contents?: true
Size: 563 Bytes
Versions: 27
Compression:
Stored size: 563 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Fedora do subject(:fedora) { 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 fedora.authorized_connection } end end end
Version data entries
27 entries across 27 versions & 1 rubygems