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