Sha256: 84a0ef76dc6891250b2dbfe23d71f98ced1a35f43a1714dd3622666beda1626f

Contents?: true

Size: 712 Bytes

Versions: 14

Compression:

Stored size: 712 Bytes

Contents

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 'cdis_jan_fictief', '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

14 entries across 14 versions & 1 rubygems

Version Path
roqua-healthy-1.2.0 spec/integration/mirth_spec.rb
roqua-healthy-1.1.9 spec/integration/mirth_spec.rb
roqua-healthy-1.1.8 spec/integration/mirth_spec.rb
roqua-healthy-1.1.7 spec/integration/mirth_spec.rb
roqua-healthy-1.1.6 spec/integration/mirth_spec.rb
roqua-healthy-1.1.5 spec/integration/mirth_spec.rb
roqua-healthy-1.1.4 spec/integration/mirth_spec.rb
roqua-healthy-1.1.3 spec/integration/mirth_spec.rb
roqua-healthy-1.1.2 spec/integration/mirth_spec.rb
roqua-healthy-1.1.1 spec/integration/mirth_spec.rb
roqua-healthy-1.1.0 spec/integration/mirth_spec.rb
roqua-healthy-1.0.2 spec/integration/mirth_spec.rb
roqua-healthy-1.0.1 spec/integration/mirth_spec.rb
roqua-healthy-1.0.0 spec/integration/mirth_spec.rb