Sha256: 5968201746b4641f33140824b271dffd27832a2ded36a7c5b27a03e506f6b159

Contents?: true

Size: 746 Bytes

Versions: 16

Compression:

Stored size: 746 Bytes

Contents

require 'test_helper'

module Vedeu

  describe MainLoop do

    let(:described) { Vedeu::MainLoop }

    describe '.start!' do
      subject { described.start! { } }
    end

    describe '.stop!' do
      subject { described.stop! }

      it { subject; described.instance_variable_get('@loop').must_equal(false) }
    end

    describe '.safe_exit_point!' do
      subject { described.safe_exit_point! }

      context 'when the application has started' do
        context 'when the loop is running' do
          # @todo Add more tests.
          # it { skip }
        end

        context 'when the loop is not running' do
          # @todo Add more tests.
          # it { skip }
        end
      end
    end

  end # MainLoop

end # Vedeu

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
vedeu-0.5.11 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.10 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.9 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.8 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.7 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.6 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.5 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.4 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.3 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.2 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.1 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.5.0 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.4.65 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.4.64 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.4.63 test/lib/vedeu/runtime/main_loop_test.rb
vedeu-0.4.62 test/lib/vedeu/main_loop_test.rb