spec/dcell/node_spec.rb in dcell-0.16.0 vs spec/dcell/node_spec.rb in dcell-0.16.1
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe DCell::Node do
before do
- @node = DCell::Node['test_node']
- @node.id.should == 'test_node'
+ @node = DCell::Node[TEST_NODE[:id]]
+ @node.id.should == TEST_NODE[:id]
end
it "finds all available nodes" do
nodes = DCell::Node.all
nodes.should include(DCell.me)