summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-10-21 14:02:12 -0700
committerNick Lewis <nick@puppetlabs.com>2011-04-12 12:47:31 -0700
commitb3baee8c625d1a8d8fb8be20d1534ed71188a5f2 (patch)
treed825b158eb78627ff57c8cce6f9ab2f368340a16 /spec/unit/parser
parentdd33eac61c4d0baed62eb88bb18dc59e474ba68d (diff)
downloadpuppet-b3baee8c625d1a8d8fb8be20d1534ed71188a5f2.tar.gz
puppet-b3baee8c625d1a8d8fb8be20d1534ed71188a5f2.tar.xz
puppet-b3baee8c625d1a8d8fb8be20d1534ed71188a5f2.zip
Refactor on the way to #5063 -- removing unused Scope#level
This attribute is apparently no longer set or accessed.
Diffstat (limited to 'spec/unit/parser')
-rwxr-xr-xspec/unit/parser/compiler_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/unit/parser/compiler_spec.rb b/spec/unit/parser/compiler_spec.rb
index 0c896a4e3..de4bee3e9 100755
--- a/spec/unit/parser/compiler_spec.rb
+++ b/spec/unit/parser/compiler_spec.rb
@@ -131,10 +131,6 @@ describe Puppet::Parser::Compiler do
@compiler.newscope(@compiler.topscope).should be_instance_of(Puppet::Parser::Scope)
end
- it "should correctly set the level of newly created scopes" do
- @compiler.newscope(@compiler.topscope, :level => 5).level.should == 5
- end
-
it "should set the parent scope of the new scope to be the passed-in parent" do
scope = mock 'scope'
newscope = @compiler.newscope(scope)