Sha256: 41ac8710f2983ba840bf270c00cfe02c21a9342f6a48d28e384eeb20a3e44630

Contents?: true

Size: 678 Bytes

Versions: 15

Compression:

Stored size: 678 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
          # it { skip }
        end

        context 'when the loop is not running' do
          # it { skip }
        end
      end
    end

  end # MainLoop

end # Vedeu

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vedeu-0.4.50 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.49 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.48 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.47 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.46 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.45 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.44 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.43 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.42 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.41 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.40 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.39 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.38 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.37 test/lib/vedeu/main_loop_test.rb
vedeu-0.4.36 test/lib/vedeu/main_loop_test.rb