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.5.6 test/units/test_errors.rb
mls-0.5.5 test/units/test_errors.rb
mls-0.5.4 test/units/test_errors.rb
mls-0.5.3 test/units/test_errors.rb
mls-0.5.2 test/units/test_errors.rb
mls-0.5.1 test/units/test_errors.rb
mls-0.5.0 test/units/test_errors.rb
mls-0.4.0 test/units/test_errors.rb
mls-0.3.8 test/units/test_errors.rb
mls-0.3.7 test/units/test_errors.rb
mls-0.3.6 test/units/test_errors.rb
mls-0.3.5 test/units/test_errors.rb
mls-0.3.4 test/units/test_errors.rb
mls-0.3.3 test/units/test_errors.rb
mls-0.3.2 test/units/test_errors.rb
mls-0.3.1 test/units/test_errors.rb
mls-0.3.0 test/units/test_errors.rb
mls-0.2.54 test/units/test_errors.rb
mls-0.2.53 test/units/test_errors.rb
mls-0.2.52 test/units/test_errors.rb