@@ -17,7 +17,7 @@ class Valkyrie::Specs::FedoraCustomResource < Valkyrie::Resource
1717 wipe_fedora! ( base_path : "test" , fedora_version : 4 )
1818 end
1919
20- let ( :storage_adapter ) { described_class . new ( fedora_adapter_config ( base_path : 'test' , fedora_version : 4 ) ) }
20+ let ( :storage_adapter ) { described_class . new ( ** fedora_adapter_config ( base_path : 'test' , fedora_version : 4 ) ) }
2121 let ( :file ) { fixture_file_upload ( 'files/example.tif' , 'image/tiff' ) }
2222
2323 it_behaves_like "a Valkyrie::StorageAdapter"
@@ -50,7 +50,7 @@ class Valkyrie::Specs::FedoraCustomResource < Valkyrie::Resource
5050 wipe_fedora! ( base_path : "test" , fedora_version : 5 )
5151 end
5252
53- let ( :storage_adapter ) { described_class . new ( fedora_adapter_config ( base_path : 'test' , fedora_version : 5 ) ) }
53+ let ( :storage_adapter ) { described_class . new ( ** fedora_adapter_config ( base_path : 'test' , fedora_version : 5 ) ) }
5454 let ( :file ) { fixture_file_upload ( 'files/example.tif' , 'image/tiff' ) }
5555
5656 it_behaves_like "a Valkyrie::StorageAdapter"
@@ -91,7 +91,7 @@ class Valkyrie::Specs::FedoraCustomResource < Valkyrie::Resource
9191 end
9292 context 'when using default transformer' do
9393 context 'and basepath is passed in' do
94- let ( :storage_adapter ) { described_class . new ( fedora_adapter_config ( base_path : 'test' , fedora_version : 5 ) ) }
94+ let ( :storage_adapter ) { described_class . new ( ** fedora_adapter_config ( base_path : 'test' , fedora_version : 5 ) ) }
9595
9696 it 'produces a valid URI' do
9797 expected_uri = 'fedora://localhost:8998/rest/test/AN1D4UHA/original'
@@ -100,7 +100,7 @@ class Valkyrie::Specs::FedoraCustomResource < Valkyrie::Resource
100100 end
101101
102102 context "when basepath uses default (e.g. '/')" do
103- let ( :storage_adapter ) { described_class . new ( fedora_adapter_config ( base_path : '/' , fedora_version : 5 ) ) }
103+ let ( :storage_adapter ) { described_class . new ( ** fedora_adapter_config ( base_path : '/' , fedora_version : 5 ) ) }
104104
105105 it 'produces a valid URI' do
106106 expected_uri = RDF ::URI . new ( 'fedora://localhost:8998/rest/AN1D4UHA/original' )
@@ -128,7 +128,7 @@ class Valkyrie::Specs::FedoraCustomResource < Valkyrie::Resource
128128 RDF ::URI . new ( base_url + ( head . scan ( /..?/ ) . first ( 4 ) + [ id ] ) . join ( '/' ) )
129129 end
130130 end
131- let ( :storage_adapter ) { described_class . new ( fedora_adapter_config ( base_path : 'test' , fedora_version : 5 ) ) }
131+ let ( :storage_adapter ) { described_class . new ( ** fedora_adapter_config ( base_path : 'test' , fedora_version : 5 ) ) }
132132
133133 it 'produces a valid URI' do
134134 expected_uri = 'fedora://localhost:8998/rest/test/AN/1D/4U/HA/AN1D4UHA/original'
0 commit comments