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.2.51 test/units/test_errors.rb
mls-0.2.50 test/units/test_errors.rb
mls-0.2.49 test/units/test_errors.rb
mls-0.2.48 test/units/test_errors.rb
mls-0.2.47 test/units/test_errors.rb
mls-0.2.46 test/units/test_errors.rb
mls-0.2.45 test/units/test_errors.rb
mls-0.2.44 test/units/test_errors.rb
mls-0.2.43 test/units/test_errors.rb
mls-0.2.42 test/units/test_errors.rb
mls-0.2.41 test/units/test_errors.rb
mls-0.2.40 test/units/test_errors.rb
mls-0.2.39 test/units/test_errors.rb
mls-0.2.38 test/units/test_errors.rb
mls-0.2.37 test/units/test_errors.rb
mls-0.2.36 test/units/test_errors.rb
mls-0.2.35 test/units/test_errors.rb
mls-0.2.34 test/units/test_errors.rb
mls-0.2.33 test/units/test_errors.rb
mls-0.2.32 test/units/test_errors.rb