diff options
author | Jeff McCune <jeff@puppetlabs.com> | 2012-07-23 08:28:06 -0700 |
---|---|---|
committer | Jeff McCune <jeff@puppetlabs.com> | 2012-07-23 08:35:00 -0700 |
commit | 99f084868b585c0b34a3f91cb19c655c77219381 (patch) | |
tree | c7d67642acb167382a65f5614cbc02781370b442 /spec/unit/puppet/parser/functions/strip_spec.rb | |
parent | 6a63fdfa53bbe742006af89dfbc7e2882b4682ee (diff) |
(Maint) Rename PuppetlabsSpec::Puppet{Seams,Internals}
The module PuppetlabsSpec::PuppetSeams has been renamed in the
puppetlabs_spec_helper gem to PuppetlabsSpec::PuppetInternals.
The method to obtain a scope object has also changed slightly. Without
this patch the spec tests will fail because the stdlib module is not
aligned with the spec helper gem. This patch fixes the problem by
matching up messages with their receivers in the spec helper library.
Paired-with: Andrew Parker <andy@puppetlabs.com>
Diffstat (limited to 'spec/unit/puppet/parser/functions/strip_spec.rb')
-rw-r--r-- | spec/unit/puppet/parser/functions/strip_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/parser/functions/strip_spec.rb b/spec/unit/puppet/parser/functions/strip_spec.rb index 47a0e0d..fccdd26 100644 --- a/spec/unit/puppet/parser/functions/strip_spec.rb +++ b/spec/unit/puppet/parser/functions/strip_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe "the strip function" do - let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } + let(:scope) { PuppetlabsSpec::PuppetInternals.scope } it "should exist" do Puppet::Parser::Functions.function("strip").should == "function_strip" end |