Sha256: c60826d7159e1b4de45267248ce441465f078df521221c13a37cdf7080d83f48

Contents?: true

Size: 298 Bytes

Versions: 13

Compression:

Stored size: 298 Bytes

Contents

require 'rest-core/test'

describe RC::ErrorDetectorHttp do
  should 'lighten' do
    client = RC::Builder.client do
      use RC::ErrorDetectorHttp
      run RC::Dry
    end.new.lighten

    client.attributes.should.key?(:error_detector)
    client.error_detector.should.kind_of?(Proc)
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rest-core-3.2.0 test/test_error_detector_http.rb
rest-core-3.1.1 test/test_error_detector_http.rb
rest-core-3.1.0 test/test_error_detector_http.rb
rest-core-3.0.0 test/test_error_detector_http.rb
rest-core-2.1.2 test/test_error_detector_http.rb
rest-core-2.1.1 test/test_error_detector_http.rb
rest-core-2.1.0 test/test_error_detector_http.rb
rest-core-2.0.4 test/test_error_detector_http.rb
rest-core-2.0.3 test/test_error_detector_http.rb
rest-core-2.0.2 test/test_error_detector_http.rb
rest-core-2.0.1 test/test_error_detector_http.rb
rest-core-2.0.0 test/test_error_detector_http.rb
rest-core-1.0.3 test/test_error_detector_http.rb