summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/range_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/puppet/parser/functions/range_spec.rb')
-rw-r--r--spec/unit/puppet/parser/functions/range_spec.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/unit/puppet/parser/functions/range_spec.rb b/spec/unit/puppet/parser/functions/range_spec.rb
index 210fec8..e1bd898 100644
--- a/spec/unit/puppet/parser/functions/range_spec.rb
+++ b/spec/unit/puppet/parser/functions/range_spec.rb
@@ -2,13 +2,7 @@
require 'spec_helper'
describe "the range function" do
- before :all do
- Puppet::Parser::Functions.autoloader.loadall
- end
-
- let :scope do
- Puppet::Parser::Scope.new
- end
+ let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
it "should exist" do
Puppet::Parser::Functions.function("range").should == "function_range"