test/unit/test_node.rb in cloud-crowd-0.2.1 vs test/unit/test_node.rb in cloud-crowd-0.2.2

- old
+ new

@@ -7,19 +7,18 @@ setup do @node = Node.new(11011).instance_variable_get(:@app) end should "instantiate correctly" do - assert @node.server.to_s == "http://localhost:9173" + assert @node.central.to_s == "http://localhost:9173" assert @node.port == 11011 assert @node.host == Socket.gethostname assert @node.enabled_actions.length > 2 assert @node.asset_store.is_a? AssetStore::FilesystemStore end should "trap signals and launch a server at start" do - Signal.expects(:trap).times(3) - Thin::Server.expects(:start) + Thin::Server.any_instance.expects(:start) @node.expects(:check_in) @node.start end should "be able to determine if the node is overloaded" do