Sha256: a5f8238f445ec16a6c29e1ae624384416978ae54fa61ce1cfc098d88a7a4c23e

Contents?: true

Size: 652 Bytes

Versions: 109

Compression:

Stored size: 652 Bytes

Contents

require 'test_helper'

class TestErrors < ::Test::Unit::TestCase
  
  def test_exception
    assert defined?(MLS::Exception)
  end

  def test_bad_request
    assert defined?(MLS::Exception::BadRequest)
  end

  def test_unauthorized
    assert defined?(MLS::Exception::Unauthorized)
  end

  def test_not_found
    assert defined?(MLS::Exception::NotFound)
  end

  def test_api_version_unsupported
    assert defined?(MLS::Exception::ApiVersionUnsupported)
  end
  
  def test_record_invalide
    assert defined?(MLS::Exception::RecordInvalid)
  end
  
  def test_service_unavailable
    assert defined?(MLS::Exception::ServiceUnavailable)
  end
end

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
mls-0.14.0 test/units/test_errors.rb
mls-0.13.0 test/units/test_errors.rb
mls-0.12.5 test/units/test_errors.rb
mls-0.12.4 test/units/test_errors.rb
mls-0.12.2 test/units/test_errors.rb
mls-0.12.3 test/units/test_errors.rb
mls-0.12.1 test/units/test_errors.rb
mls-0.11.3 test/units/test_errors.rb
mls-0.11.2 test/units/test_errors.rb
mls-0.11.1 test/units/test_errors.rb
mls-0.11.0 test/units/test_errors.rb
mls-0.9.9 test/units/test_errors.rb
mls-0.9.8 test/units/test_errors.rb
mls-0.9.6 test/units/test_errors.rb
mls-0.9.5 test/units/test_errors.rb
mls-0.9.4 test/units/test_errors.rb
mls-0.9.3 test/units/test_errors.rb
mls-0.9.2 test/units/test_errors.rb
mls-0.9.1 test/units/test_errors.rb
mls-0.9.0 test/units/test_errors.rb