lib/testlab/node.rb in testlab-0.3.1 vs lib/testlab/node.rb in testlab-0.4.0
- old
+ new
@@ -39,11 +39,11 @@
has_many :containers, :class_name => 'TestLab::Container'
has_many :networks, :class_name => 'TestLab::Network'
attribute :provider
attribute :config
- attribute :components
- attribute :route
+ attribute :components, :default => Array.new
+ attribute :route, :default => false
def initialize(*args)
super(*args)