summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-03-08 17:22:06 -0800
committerMatt Robinson <matt@puppetlabs.com>2011-03-08 17:22:06 -0800
commiteae17c3cba159d895e5ec2e87e4abe8c125a9562 (patch)
tree3b3142c26154374e3ffefa2fe875833367c4da5b /spec/unit/parser
parente8763415627cf41cefece00bf4dbc48e9be81d1d (diff)
parenta3f2357215b15f318500d6637f393dad0d4a4181 (diff)
downloadpuppet-eae17c3cba159d895e5ec2e87e4abe8c125a9562.tar.gz
puppet-eae17c3cba159d895e5ec2e87e4abe8c125a9562.tar.xz
puppet-eae17c3cba159d895e5ec2e87e4abe8c125a9562.zip
Merge branch 'ticket/2.6.next/maint-cleanup_spec_output' into 2.6.next
* ticket/2.6.next/maint-cleanup_spec_output: maint: Remove spec run noise
Diffstat (limited to 'spec/unit/parser')
-rwxr-xr-xspec/unit/parser/parser_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/parser/parser_spec.rb b/spec/unit/parser/parser_spec.rb
index 6cc393d91..2ed279fd9 100755
--- a/spec/unit/parser/parser_spec.rb
+++ b/spec/unit/parser/parser_spec.rb
@@ -259,7 +259,7 @@ describe Puppet::Parser do
before do
@lexer = stub 'lexer', :line => 50, :file => "/foo/bar", :getcomment => "whev"
@parser.stubs(:lexer).returns @lexer
- @class = stub 'class', :use_docs => false
+ @class = Puppet::Resource::Type.new(:hostclass, "myclass", :use_docs => false)
end
it "should return a new instance of the provided class created with the provided options" do