Sha256: 642aaa2a62f4f464071d6bb13e1658d04cf0cb7bb25c4157c97894040c43360a

Contents?: true

Size: 626 Bytes

Versions: 4

Compression:

Stored size: 626 Bytes

Contents

require_relative '../../test_helper'

module Vedeu
  describe Application do
    let(:described_class)    { Application }
    let(:described_instance) { described_class.new(options) }
    let(:options)            { {} }

    it { described_instance.must_be_instance_of(Application) }

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

      before do
        Terminal.stubs(:open).yields(self)
        InterfaceRepository.stubs(:initial_state)
        EventLoop.stubs(:main_sequence)
        Terminal.stubs(:close)
      end

      it { subject.must_be_instance_of(NilClass) }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vedeu-0.0.14 test/lib/vedeu/application_test.rb
vedeu-0.0.13 test/lib/vedeu/application_test.rb
vedeu-0.0.12 test/lib/vedeu/application_test.rb
vedeu-0.0.11 test/lib/vedeu/application_test.rb