Sha256: 52bd0bcaade2d097ddfc19a35cc5eb27f72a81af7e2dd7201e2c0528f6110b52
Contents?: true
Size: 863 Bytes
Versions: 10
Compression:
Stored size: 863 Bytes
Contents
require 'test_helper' module Vedeu module Runtime describe MainLoop do let(:described) { Vedeu::Runtime::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 # Runtime end # Vedeu
Version data entries
10 entries across 10 versions & 1 rubygems