test/unit/test_node.rb in cloud-crowd-0.2.8 vs test/unit/test_node.rb in cloud-crowd-0.2.9
- old
+ new
@@ -6,9 +6,13 @@
setup do
@node = Node.new(11011).instance_variable_get(:@app)
end
+ should "set the identity of the Ruby instance" do
+ assert CloudCrowd.node?
+ end
+
should "instantiate correctly" do
assert @node.central.to_s == "http://localhost:9173"
assert @node.port == 11011
assert @node.host == Socket.gethostname
assert @node.enabled_actions.length > 2