Sha256: 0547b98345b183dce3dfa19d1ba538d0045ac670667abf97298d5983706aa271

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

require 'helper'

class ErrorsTest < Minitest::Test

  def test_error_inheritance
    assert_kind_of  StandardError,
                    CSI::Error.new
  end

  def test_code_invalid_inheritance
    assert_kind_of  CSI::Error,
                    CSI::CodeInvalid.new
  end

  def test_type_invalid_inheritance
    assert_kind_of  CSI::Error,
                    CSI::TypeInvalid.new
  end

  def test_classification_invalid_inheritance
    assert_kind_of  CSI::Error,
                    CSI::ClassificationInvalid.new
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csi-0.3.3 test/test_errors.rb