Skip to content
Browse files

add process orchestrator test I missed

  • Loading branch information...
1 parent 406f6a4 commit d1e2846c348ecfa4edbbba2454e8b184657f0987 @qxjit qxjit committed Apr 23, 2008
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/deep_test/process_orchestrator_test.rb
View
11 test/deep_test/process_orchestrator_test.rb
@@ -0,0 +1,11 @@
+require File.dirname(__FILE__) + "/../test_helper"
+
+unit_tests do
+ test "shutdown calls done_with_work" do
+ orchestrator = DeepTest::ProcessOrchestrator.new(nil, stub_everything, nil)
+ server = mock
+ server.expects(:done_with_work)
+
+ orchestrator.shutdown(server)
+ end
+end

0 comments on commit d1e2846

Please sign in to comment.
Something went wrong with that request. Please try again.