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.31 test/units/test_errors.rb
mls-0.2.29 test/units/test_errors.rb
mls-0.2.28 test/units/test_errors.rb
mls-0.2.26 test/units/test_errors.rb
mls-0.2.25 test/units/test_errors.rb
mls-0.2.24 test/units/test_errors.rb
mls-0.2.23 test/units/test_errors.rb
mls-0.2.21 test/units/test_errors.rb
mls-0.2.20 test/units/test_errors.rb
mls-0.2.19 test/units/test_errors.rb
mls-0.2.18 test/units/test_errors.rb
mls-0.2.17 test/units/test_errors.rb
mls-0.2.16 test/units/test_errors.rb
mls-0.2.15 test/units/test_errors.rb
mls-0.2.14 test/units/test_errors.rb
mls-0.2.13 test/units/test_errors.rb
mls-0.2.12 test/units/test_errors.rb
mls-0.2.11 test/units/test_errors.rb
mls-0.2.9.1 test/units/test_errors.rb
mls-0.2.10 test/units/test_errors.rb