Sha256: 7439f4d6e362149960f76327ff214152ad9b0fee134b69624a28585c677586b7

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

require 'rest-core/test'

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

    client.attributes.should.key?(:error_detector)
    client.app.call({}).should.eq({})
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-core-1.0.3 test/test_error_detector.rb