test/initialization_test.rb in alloy-kicker-1.9.2 vs test/initialization_test.rb in alloy-kicker-1.9.3
- old
+ new
@@ -49,13 +49,14 @@
@kicker.stubs(:log)
Rucola::FSEvents.stubs(:start_watching)
OSX.stubs(:CFRunLoopRun)
end
- it "should show the usage banner and exit when there is no process_callback defined at all" do
+ it "should show the usage banner and exit when there are no callbacks defined at all" do
@kicker.stubs(:validate_paths_exist!)
Kicker.stubs(:process_chain).returns([])
+ Kicker.stubs(:pre_process_chain).returns([])
Kicker::OPTION_PARSER_CALLBACK.stubs(:call).returns(mock('OptionParser', :help => 'help'))
@kicker.expects(:puts).with("help")
@kicker.expects(:exit)
@@ -128,6 +129,6 @@
@kicker.use_growl = false
Growl::Notifier.sharedInstance.expects(:register).never
@kicker.start
end
-end
\ No newline at end of file
+end