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.8.2 test/units/test_errors.rb
mls-0.8.1 test/units/test_errors.rb
mls-0.8.0 test/units/test_errors.rb
mls-0.7.2 test/units/test_errors.rb
mls-0.7.1 test/units/test_errors.rb
mls-0.7.0 test/units/test_errors.rb
mls-0.6.7 test/units/test_errors.rb
mls-0.6.6 test/units/test_errors.rb
mls-0.6.5 test/units/test_errors.rb
mls-0.6.4 test/units/test_errors.rb
mls-0.6.3 test/units/test_errors.rb
mls-0.6.2 test/units/test_errors.rb
mls-0.6.1 test/units/test_errors.rb
mls-0.6.0 test/units/test_errors.rb
mls-0.5.12 test/units/test_errors.rb
mls-0.5.11 test/units/test_errors.rb
mls-0.5.10 test/units/test_errors.rb
mls-0.5.9 test/units/test_errors.rb
mls-0.5.8 test/units/test_errors.rb
mls-0.5.7 test/units/test_errors.rb