From a47853502d7681edd8173e05249ce43d44bede7c Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Thu, 28 Jul 2011 21:15:43 +0100 Subject: Removed load_variables. load_yaml is sufficient to solve this problem on its own. --- spec/unit/parser/functions/load_variables_spec.rb | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 spec/unit/parser/functions/load_variables_spec.rb (limited to 'spec/unit/parser/functions') diff --git a/spec/unit/parser/functions/load_variables_spec.rb b/spec/unit/parser/functions/load_variables_spec.rb deleted file mode 100644 index dc29e61..0000000 --- a/spec/unit/parser/functions/load_variables_spec.rb +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env rspec -require 'spec_helper' - -describe "the load_variables function" do - before :all do - Puppet::Parser::Functions.autoloader.loadall - end - - before :each do - @scope = Puppet::Parser::Scope.new - end - - it "should exist" do - Puppet::Parser::Functions.function("load_variables").should == "function_load_variables" - end - - it "should raise a ParseError if there is less than 1 arguments" do - lambda { @scope.function_load_variables([]) }.should( raise_error(Puppet::ParseError)) - end - -end -- cgit v1.2.3