lib/testlab/node.rb in testlab-0.4.0 vs lib/testlab/node.rb in testlab-0.4.1
- old
+ new
@@ -32,18 +32,17 @@
extend TestLab::Node::ClassMethods
include TestLab::Utility::Misc
# Associations and Attributes
- belongs_to :labfile, :class_name => 'TestLab::Lab'
+ belongs_to :labfile, :class_name => 'TestLab::Labfile'
has_many :containers, :class_name => 'TestLab::Container'
has_many :networks, :class_name => 'TestLab::Network'
attribute :provider
- attribute :config
+ attribute :config, :default => Hash.new
attribute :components, :default => Array.new
- attribute :route, :default => false
def initialize(*args)
super(*args)