test/lib/vedeu/main_loop_test.rb in vedeu-0.4.18 vs test/lib/vedeu/main_loop_test.rb in vedeu-0.4.19
- old
+ new
@@ -17,8 +17,19 @@
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
+ end
+
+ context 'when the application has not started' do
+ it { Vedeu.expects(:trigger); subject }
+ end
+ end
+
end # MainLoop
end # Vedeu