Sha256: bff14c2eae7dfe5bf5b3d71ea7418cbb3e313eee282aef0f29712559bc550da4

Contents?: true

Size: 1.34 KB

Versions: 15

Compression:

Stored size: 1.34 KB

Contents

# frozen_string_literal: true

require 'test_helper'

module Vedeu

  module Error

    describe ActionNotFound do
    end # ActionNotFound

    describe ControllerNotFound do
    end # ControllerNotFound

    describe Fatal do
    end # Fatal

    describe Interrupt do
    end # Interrupt

    describe InvalidSyntax do
    end # InvalidSyntax

    describe MissingRequired do
    end # MissingRequired

    describe ModelNotFound do
    end # ModelNotFound

    describe ModeSwitch do
    end # ModeSwitch

    describe NotImplemented do

      let(:described) { Vedeu::Error::NotImplemented }
      let(:instance)  { described.new }

      describe '#message' do
        subject { instance.message }

        it { subject.must_be_instance_of(String) }
      end

    end # NotImplemented

    describe OutOfRange do

      let(:described) { Vedeu::Error::OutOfRange }
      let(:instance)  { described.new }

      describe '#message' do
        subject { instance.message }

        it { subject.must_be_instance_of(String) }
      end

    end # OutOfRange

    describe RequiresBlock do

      let(:described) { Vedeu::Error::RequiresBlock }
      let(:instance)  { described.new }

      describe '#message' do
        subject { instance.message }

        it { subject.must_be_instance_of(String) }
      end

    end # RequiresBlock

  end # Error

end # Vedeu

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vedeu-0.8.32 test/lib/vedeu/error_test.rb
vedeu-0.8.31 test/lib/vedeu/error_test.rb
vedeu-0.8.30 test/lib/vedeu/error_test.rb
vedeu-0.8.29 test/lib/vedeu/error_test.rb
vedeu-0.8.28 test/lib/vedeu/error_test.rb
vedeu-0.8.27 test/lib/vedeu/error_test.rb
vedeu-0.8.26 test/lib/vedeu/error_test.rb
vedeu-0.8.25 test/lib/vedeu/error_test.rb
vedeu-0.8.24 test/lib/vedeu/error_test.rb
vedeu-0.8.23 test/lib/vedeu/error_test.rb
vedeu-0.8.22 test/lib/vedeu/error_test.rb
vedeu-0.8.21 test/lib/vedeu/error_test.rb
vedeu-0.8.20 test/lib/vedeu/error_test.rb
vedeu-0.8.19 test/lib/vedeu/error_test.rb
vedeu-0.8.18 test/lib/vedeu/error_test.rb