spec/unit/parser/functions/shellquote_spec.rb in puppet-2.7.19 vs spec/unit/parser/functions/shellquote_spec.rb in puppet-2.7.20.rc1
- old
+ new
@@ -1,20 +1,15 @@
#!/usr/bin/env rspec
require 'spec_helper'
describe "the shellquote 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("shellquote").should == "function_shellquote"
end
-
it "should handle no arguments" do
result = @scope.function_shellquote([])
result.should(eql(""))
end