Sha256: 119ca427523d6df289497db53c614f3fcde682bb918e3f88f9c7b866357fa4c0
Contents?: true
Size: 740 Bytes
Versions: 9
Compression:
Stored size: 740 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe 'Accounting for Mirth bugs' do describe 'when the wrong patient is returned' do # Mirth has an awful bug where it will sometimes return responses out of sync # with the actual requests. Mirth support has been entirely unhelpful in # working with us to resolve this bug. Hence the need to at least stop the # badness on this level, make sure we don't pollute our caches with patient # details that don't belong to the patient we requested. before { load_fixture 'comez_patient', '12345678' } it 'raises an error' do expect { Roqua::Healthy::A19.fetch("12345678") }.to raise_error(Roqua::Healthy::MirthErrors::WrongPatient) end end end
Version data entries
9 entries across 9 versions & 1 rubygems