Sha256: 004638f76a09d24594ec9f7aba5ff02bcedda0f30d72911fca5e650af2875c47

Contents?: true

Size: 428 Bytes

Versions: 5

Compression:

Stored size: 428 Bytes

Contents

require_relative '../../../test_helper'
require_relative '../../../../lib/vedeu/support/exit'

module Vedeu
  describe Exit do
    let(:described_class) { Exit }

    describe '.dispatch' do
      let(:subject) { described_class.dispatch }

      it 'returns a Symbol' do
        subject.must_be_instance_of(Symbol)
      end

      it 'returns the symbol :stop' do
        subject.must_equal(:stop)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.0.30 test/lib/vedeu/support/exit_test.rb
vedeu-0.0.29 test/lib/vedeu/support/exit_test.rb
vedeu-0.0.28 test/lib/vedeu/support/exit_test.rb
vedeu-0.0.27 test/lib/vedeu/support/exit_test.rb
vedeu-0.0.26 test/lib/vedeu/support/exit_test.rb