Sha256: e7db020fa54c82dfd884660414d1a7fb47a46e7ac7d5b6c9c1514825be2e62aa
Contents?: true
Size: 772 Bytes
Versions: 8
Compression:
Stored size: 772 Bytes
Contents
require 'test_helper' module Vedeu describe MainLoop do let(:described) { Vedeu::MainLoop } describe '.start!' do before do end 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
8 entries across 8 versions & 1 rubygems