test/initialization_test.rb in alloy-kicker-1.9.0 vs test/initialization_test.rb in alloy-kicker-1.9.1
- old
+ new
@@ -49,12 +49,12 @@
@kicker.stubs(:log)
Rucola::FSEvents.stubs(:start_watching)
OSX.stubs(:CFRunLoopRun)
end
- it "should show the usage banner and exit when there is no extra callback defined" do
+ it "should show the usage banner and exit when there is no process_callback defined at all" do
@kicker.stubs(:validate_paths_exist!)
- Kicker.stubs(:callback_chain).returns([1])
+ Kicker.stubs(:process_chain).returns([])
Kicker::OPTION_PARSER_CALLBACK.stubs(:call).returns(mock('OptionParser', :help => 'help'))
@kicker.expects(:puts).with("help")
@kicker.expects(:exit)
\ No newline at end of file