Sha256: 15f2393156e57586a5441ea5751890fad93296ad898cd904a2b43f3df0a05cee
Contents?: true
Size: 628 Bytes
Versions: 30
Compression:
Stored size: 628 Bytes
Contents
require 'spec_helper' RSpec.describe Hydra::ContentNegotiation::ReplacingGraphFinder do let(:graph) { double } let(:finder) { double(graph: graph, uri: 'http://127.0.0.1:8986/rest/test/28/01/ph/00/2801ph009', id: '2801ph009') } let(:replacer) { double } subject { described_class.new finder, replacer } describe "graph" do it "has the correct base url" do expect(Hydra::ContentNegotiation::FedoraUriReplacer).to receive(:new) .with(ending_with("/rest/test"), graph, replacer) .and_return(double(run: nil)) subject.graph end end end
Version data entries
30 entries across 30 versions & 1 rubygems