Sha256: 40c13b1df70c0a89653230644e28c3dfaccfc83d0692c4a2659800e1f1a3417e

Contents?: true

Size: 472 Bytes

Versions: 11

Compression:

Stored size: 472 Bytes

Contents

require 'spec_helper'

describe Roqua::Healthy::Client do
  context 'fully configured client' do
    subject { Roqua::Healthy::Client.new(a19_endpoint: 'http://a19_endpoint.dev') }

    it { expect(subject.a19_endpoint).to eq 'http://a19_endpoint.dev' }
  end

  context 'unconfigured client' do
    subject { Roqua::Healthy::Client.new }

    it 'defaults to system wide config' do
      expect(subject.a19_endpoint).to eq Roqua::Healthy.a19_endpoint
    end

  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
roqua-healthy-1.2.0 spec/unit/client_spec.rb
roqua-healthy-1.1.9 spec/unit/client_spec.rb
roqua-healthy-1.1.8 spec/unit/client_spec.rb
roqua-healthy-1.1.7 spec/unit/client_spec.rb
roqua-healthy-1.1.6 spec/unit/client_spec.rb
roqua-healthy-1.1.5 spec/unit/client_spec.rb
roqua-healthy-1.1.4 spec/unit/client_spec.rb
roqua-healthy-1.1.3 spec/unit/client_spec.rb
roqua-healthy-1.1.2 spec/unit/client_spec.rb
roqua-healthy-1.1.1 spec/unit/client_spec.rb
roqua-healthy-1.1.0 spec/unit/client_spec.rb