Sha256: 7b7877d2dae8b99b75f2d392674343ed4d671b8c7ce5a502ac0cc35270e43266
Contents?: true
Size: 569 Bytes
Versions: 8
Compression:
Stored size: 569 Bytes
Contents
RSpec.shared_context 'setup' do let(:configuration) do ROM::Configuration.new( :http, uri: uri, request_handler: request_handler, response_handler: response_handler, headers: headers ) end let(:container) { ROM.container(configuration) } let(:rom) { container } let(:gateway) { container.gateways.fetch(:default) } let(:uri) { 'http://localhost:3000' } let(:request_handler) { double(Proc, freeze: self) } let(:response_handler) { double(Proc, freeze: self) } let(:headers) { { accept: 'application/json' } } end
Version data entries
8 entries across 8 versions & 1 rubygems