summaryrefslogtreecommitdiff
path: root/spec/unit/parser/functions
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-07-28 21:15:43 +0100
committerKen Barber <ken@bob.sh>2011-07-28 21:15:43 +0100
commita47853502d7681edd8173e05249ce43d44bede7c (patch)
treea723449dd15b425c660dcff7018f9bdf08a57574 /spec/unit/parser/functions
parent1a7bd1ae8321bfc3d2ae87f1d5184828abf56916 (diff)
Removed load_variables. load_yaml is sufficient to solve this problem on its own.
Diffstat (limited to 'spec/unit/parser/functions')
-rw-r--r--spec/unit/parser/functions/load_variables_spec.rb21
1 files changed, 0 insertions, 21 deletions
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