Sha256: 2b1eabfb1034f74ff4e1bbaa1a6b852732e05248263522fc7a240bf842661414

Contents?: true

Size: 242 Bytes

Versions: 12

Compression:

Stored size: 242 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)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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