Sha256: f8fde8bee4b7200ddf67fb8fcb0e52a078c72daf14e87358c1e162a12dcf29c3
Contents?: true
Size: 745 Bytes
Versions: 2
Compression:
Stored size: 745 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 end context 'when the loop is not running' do end end context 'when the application has not started' do it { Vedeu.expects(:trigger); subject } end end end # MainLoop end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.31 | test/lib/vedeu/main_loop_test.rb |
vedeu-0.4.30 | test/lib/vedeu/main_loop_test.rb |