summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJacob Helwig <jacob@puppetlabs.com>2011-06-17 11:37:25 -0700
committerJacob Helwig <jacob@puppetlabs.com>2011-06-17 11:37:25 -0700
commitcf93404e53aa32ac4a919ddd57d09ed78abfc1b5 (patch)
treef40052427f5bd6d8a98ba63bf996b1466955d9bc /spec
parent0b0a9be25f95f7dfd14bbcc9bf7c7f9b21531100 (diff)
parent51608221da248e679326087303ecd0c649225d5b (diff)
downloadpuppet-cf93404e53aa32ac4a919ddd57d09ed78abfc1b5.tar.gz
puppet-cf93404e53aa32ac4a919ddd57d09ed78abfc1b5.tar.xz
puppet-cf93404e53aa32ac4a919ddd57d09ed78abfc1b5.zip
Merge branch 'template-not-defined-test-failure'
* template-not-defined-test-failure: Clean up indentation, whitespace, and commented out code Remove order dependency from functions integration spec
Diffstat (limited to 'spec')
-rwxr-xr-xspec/integration/parser/functions_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/parser/functions_spec.rb b/spec/integration/parser/functions_spec.rb
index 6791987d7..6a8fbca9c 100755
--- a/spec/integration/parser/functions_spec.rb
+++ b/spec/integration/parser/functions_spec.rb
@@ -3,7 +3,7 @@ require 'spec_helper'
describe Puppet::Parser::Functions do
before :each do
- Puppet::Parser::Functions.rmfunction("template") if Puppet::Parser::Functions.function("template")
+ Puppet::Parser::Functions.rmfunction("template") if Puppet::Parser::Functions.functions.include?("template")
end
it "should support multiple threads autoloading the same function" do