test/lib/vedeu/launcher_test.rb in vedeu-0.3.4 vs test/lib/vedeu/launcher_test.rb in vedeu-0.3.5
- old
+ new
@@ -22,10 +22,20 @@
it { instance.instance_variable_get('@stderr').must_equal(STDERR) }
it { instance.instance_variable_get('@kernel').must_equal(Kernel) }
it { instance.instance_variable_get('@exit_code').must_equal(1) }
end
+ describe '#debug_execute!' do
+ subject { instance.debug_execute! }
+
+ context 'when debugging is enabled in the configuration' do
+ end
+
+ context 'when debugging is not enabled in the configuration' do
+ end
+ end
+
describe '#execute!' do
subject { instance.execute! }
it 'returns 0 for successful execution' do
subject.must_equal(0)
@@ -36,10 +46,10 @@
# Application.stubs(:start).raises(StandardError)
# end
# it 'displays the exception' do
# capture_io do
- # Launcher.new.execute!
+ # Launcher.execute!
# end.must_equal(["", ""])
# end
# end
end