lib/rspec-system/node.rb in rspec-system-2.5.1 vs lib/rspec-system/node.rb in rspec-system-2.6.0

- old
+ new

@@ -1,12 +1,10 @@ require 'rspec-system' module RSpecSystem # This class represents a node in a nodeset class Node - include RSpecSystem::InternalHelpers - # Static helper for generating a node direct from the hash returned by # the nodeset YAML file. # # @param nodeset [RSpecSystem::Node] nodeset that this node belongs to # @param k [String] name of node @@ -42,10 +40,10 @@ if prefab.nil? # TODO: do not support not prefabs yet raise "No prefab defined, bailing" else - @prefab = RSpecSystem::Prefab.prefab(prefab, custom_prefabs_path) + @prefab = RSpecSystem::Prefab.prefab(prefab, @custom_prefabs_path) @facts = @prefab.facts @provider_specifics = @prefab.provider_specifics end end