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/zip_spec.rb | |
parent | 6a63fdfa53bbe742006af89dfbc7e2882b4682ee (diff) | |
download | puppet-stdlib-99f084868b585c0b34a3f91cb19c655c77219381.tar.gz puppet-stdlib-99f084868b585c0b34a3f91cb19c655c77219381.tar.bz2 |
(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/zip_spec.rb')
-rw-r--r-- | spec/unit/puppet/parser/functions/zip_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/parser/functions/zip_spec.rb b/spec/unit/puppet/parser/functions/zip_spec.rb index b6d8713..f45ab17 100644 --- a/spec/unit/puppet/parser/functions/zip_spec.rb +++ b/spec/unit/puppet/parser/functions/zip_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' describe "the zip function" do - let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } + let(:scope) { PuppetlabsSpec::PuppetInternals.scope } it "should raise a ParseError if there is less than 1 arguments" do lambda { scope.function_zip([]) }.should( raise_error(Puppet::ParseError)) |