lib/rspec-system/node_set.rb in rspec-system-1.2.1 vs lib/rspec-system/node_set.rb in rspec-system-1.3.0

- old
+ new

@@ -3,15 +3,15 @@ class NodeSet # Returns a NodeSet object. # # @return [RSpecSystem::NodeSet::Base] returns an object based on the Base # abstract class. - def self.create(setname, config, virtual_env) + def self.create(setname, config, virtual_env, options) case(virtual_env) when 'vagrant' - RSpecSystem::NodeSet::Vagrant.new(setname, config) + RSpecSystem::NodeSet::Vagrant.new(setname, config, options) when 'vsphere' - RSpecSystem::NodeSet::Vsphere.new(setname, config) + RSpecSystem::NodeSet::Vsphere.new(setname, config, options) else raise "Unsupported virtual environment #{virtual_env}" end end end