summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser/functions/shuffle_spec.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2012-07-23 08:28:06 -0700
committerJeff McCune <jeff@puppetlabs.com>2012-07-23 08:35:00 -0700
commit99f084868b585c0b34a3f91cb19c655c77219381 (patch)
treec7d67642acb167382a65f5614cbc02781370b442 /spec/unit/puppet/parser/functions/shuffle_spec.rb
parent6a63fdfa53bbe742006af89dfbc7e2882b4682ee (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/shuffle_spec.rb')
-rw-r--r--spec/unit/puppet/parser/functions/shuffle_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/parser/functions/shuffle_spec.rb b/spec/unit/puppet/parser/functions/shuffle_spec.rb
index 4bb77f2..93346d5 100644
--- a/spec/unit/puppet/parser/functions/shuffle_spec.rb
+++ b/spec/unit/puppet/parser/functions/shuffle_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
describe "the shuffle function" do
- let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+ let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do
Puppet::Parser::Functions.function("shuffle").should == "function_shuffle"