]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
(Maint) Rename PuppetlabsSpec::Puppet{Seams,Internals}
authorJeff McCune <jeff@puppetlabs.com>
Mon, 23 Jul 2012 15:28:06 +0000 (08:28 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Mon, 23 Jul 2012 15:35:00 +0000 (08:35 -0700)
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>

54 files changed:
spec/unit/puppet/parser/functions/abs_spec.rb
spec/unit/puppet/parser/functions/bool2num_spec.rb
spec/unit/puppet/parser/functions/capitalize_spec.rb
spec/unit/puppet/parser/functions/chomp_spec.rb
spec/unit/puppet/parser/functions/chop_spec.rb
spec/unit/puppet/parser/functions/delete_at_spec.rb
spec/unit/puppet/parser/functions/delete_spec.rb
spec/unit/puppet/parser/functions/downcase_spec.rb
spec/unit/puppet/parser/functions/empty_spec.rb
spec/unit/puppet/parser/functions/flatten_spec.rb
spec/unit/puppet/parser/functions/getvar_spec.rb
spec/unit/puppet/parser/functions/grep_spec.rb
spec/unit/puppet/parser/functions/has_key_spec.rb
spec/unit/puppet/parser/functions/hash_spec.rb
spec/unit/puppet/parser/functions/is_array_spec.rb
spec/unit/puppet/parser/functions/is_domain_name_spec.rb
spec/unit/puppet/parser/functions/is_float_spec.rb
spec/unit/puppet/parser/functions/is_hash_spec.rb
spec/unit/puppet/parser/functions/is_integer_spec.rb
spec/unit/puppet/parser/functions/is_ip_address_spec.rb
spec/unit/puppet/parser/functions/is_mac_address_spec.rb
spec/unit/puppet/parser/functions/is_numeric_spec.rb
spec/unit/puppet/parser/functions/is_string_spec.rb
spec/unit/puppet/parser/functions/join_spec.rb
spec/unit/puppet/parser/functions/keys_spec.rb
spec/unit/puppet/parser/functions/lstrip_spec.rb
spec/unit/puppet/parser/functions/member_spec.rb
spec/unit/puppet/parser/functions/merge_spec.rb
spec/unit/puppet/parser/functions/num2bool_spec.rb
spec/unit/puppet/parser/functions/parsejson_spec.rb
spec/unit/puppet/parser/functions/parseyaml_spec.rb
spec/unit/puppet/parser/functions/prefix_spec.rb
spec/unit/puppet/parser/functions/range_spec.rb
spec/unit/puppet/parser/functions/reverse_spec.rb
spec/unit/puppet/parser/functions/rstrip_spec.rb
spec/unit/puppet/parser/functions/shuffle_spec.rb
spec/unit/puppet/parser/functions/size_spec.rb
spec/unit/puppet/parser/functions/sort_spec.rb
spec/unit/puppet/parser/functions/squeeze_spec.rb
spec/unit/puppet/parser/functions/str2bool_spec.rb
spec/unit/puppet/parser/functions/strftime_spec.rb
spec/unit/puppet/parser/functions/strip_spec.rb
spec/unit/puppet/parser/functions/swapcase_spec.rb
spec/unit/puppet/parser/functions/time_spec.rb
spec/unit/puppet/parser/functions/type_spec.rb
spec/unit/puppet/parser/functions/unique_spec.rb
spec/unit/puppet/parser/functions/upcase_spec.rb
spec/unit/puppet/parser/functions/validate_array_spec.rb
spec/unit/puppet/parser/functions/validate_bool_spec.rb
spec/unit/puppet/parser/functions/validate_hash_spec.rb
spec/unit/puppet/parser/functions/validate_string_spec.rb
spec/unit/puppet/parser/functions/values_at_spec.rb
spec/unit/puppet/parser/functions/values_spec.rb
spec/unit/puppet/parser/functions/zip_spec.rb

index 68e1b3aa9da27856001bc3dd519c3c676e59155c..c0b42970c528b71097d41a133b5f736f98d43a48 100755 (executable)
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 describe "the abs function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("abs").should == "function_abs"
index d54f089c8ab21e8d1a8a8c847963ebb177672a16..518ac85ec5ff145f91a0642f5c5b66fec101a186 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the bool2num function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("bool2num").should == "function_bool2num"
index 9736d5f061c461acaf535e43e85d1674c127ee87..69c9758f25bd73250ccef84d75eced84882d4a7f 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the capitalize function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("capitalize").should == "function_capitalize"
index 1aacaa010ba5e42a15d470eef7f00399569fe1ea..e425365fcb00891e38c1098809e8f38ea8e67fff 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the chomp function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("chomp").should == "function_chomp"
index b12a4d1a8499a503369dcb81cc9cc090bff6cc27..9e466de4b69f7271b82d744705740a94b047ee96 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the chop function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("chop").should == "function_chop"
index d6a21da496e6eb4266c78e4306f4eb2b1fc19e63..d8d9618489fc5c737e35938b2cb5507d9d1713c2 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the delete_at function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("delete_at").should == "function_delete_at"
index 74d46fc4fa241b7f0255984bbca04468df990fe3..0549232a55cb1c6db5dfd71b2ea57339bfe60489 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the delete function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("delete").should == "function_delete"
index 5c2ebe66d75381ece8c9eb203c3967bbca793305..acef1f05d9230bc4d4d83faa5634dea566f4e92c 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the downcase function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("downcase").should == "function_downcase"
index 75eec5a4edc2737358de102fc1f5ce45d020dd3a..7745875224865a8b27e5bf6fa6a07c6f5f35d4e8 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the empty function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
   it "should exist" do
     Puppet::Parser::Functions.function("empty").should == "function_empty"
   end
index adb03f41154846219c2fc3e4c59e042b78c02cc0..d4dfd2018651e6298c92873c7363baba4c6570dd 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the flatten function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
   it "should exist" do
     Puppet::Parser::Functions.function("flatten").should == "function_flatten"
   end
index 0fb9c83a412560e285b6b7f4344c36891e17b818..62ad1928499f071ef4f75ddbdfdb5b1e8d891746 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:getvar) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
   describe 'when calling getvar from puppet' do
 
     it "should not compile when no arguments are passed" do
index d84c4011370a480124efb16a2422c3511ea5174d..a93b842537e042a7d80a6df57e082563acc620e6 100755 (executable)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the grep function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("grep").should == "function_grep"
index 20ba57e3fb67a5780770ce560072d4a222122636..ae5baf73f9cc11e42ce6f72511a6f12fab61c18b 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:has_key) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   describe 'when calling has_key from puppet' do
     it "should not compile when no arguments are passed" do
index ee09ef7c3662c61175fe6b96d02c46ad3307c598..7c91be9077fdc515b52ce9e9bc2d4b4bebf1c3c2 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the hash function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("hash").should == "function_hash"
index ebd472bd9e68ec1908a68be92214449b1ede41c2..e7f4bcd6df4b931534c02c8a37e08c08a24287ff 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_array function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_array").should == "function_is_array"
index d8467bf50fe73fe473c882f76da1a7f88c1d2132..f2ea76dac70b2bf918cf9cfc50d40842007b715d 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_domain_name function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_domain_name").should == "function_is_domain_name"
index a00f4bc82f9563c965830aaa52a756c376eb8f1c..2f527d9323183d7744dce6151648f9102e1a3639 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_float function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_float").should == "function_is_float"
index 3f765d4a76373f44da18133f2d11c393f679e26f..bbebf39f9c72783ceff58fbb918d92e141e0eb65 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_hash function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_hash").should == "function_is_hash"
index 56735ff138e20d7c413e91778bab0ff03e655b5e..5afbba4a086111e7cdb54e1f104f3c4dc7ab707f 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_integer function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_integer").should == "function_is_integer"
index d231440b82854a6db6e415b4b1eee6be387a54d7..c0debb3d43b11166143877aa1b0bf98d0d005977 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_ip_address function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_ip_address").should == "function_is_ip_address"
index 0dcacb145f9cbf9275f0d4e565ae49435cabdd1f..ca9c5904767f565ac71f780693eb2af70d68eac2 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_mac_address function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_mac_address").should == "function_is_mac_address"
index 9c1aa401017f62e70a4d319cf4aac4ad01b018fb..4078b37f2d37576b56b50dad8481dd7f48493368 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_numeric function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_numeric").should == "function_is_numeric"
index 36c612c5ba7aade7ad4e6a0e678ae2bd330e9555..3756bea8b5fa26582294434fa2fed2be81db2a85 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the is_string function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("is_string").should == "function_is_string"
index 694fdce024deb795b2ee97749445f76079300a13..aafa1a7f76eaa52d5541919c2962bbc4fd40ed59 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the join function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("join").should == "function_join"
index def4a286d43f0cd9a93b7af7f4e787c3669af8f1..fdd7a7073e51befc45873e7e6ecd98401e9eba56 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the keys function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("keys").should == "function_keys"
index 77c18c72e1894c99620a39539b063f2c59d8cc13..b280ae7ac1dbdcf3868c4483493e4bb9b609ffe0 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the lstrip function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("lstrip").should == "function_lstrip"
index e939d95d5f457e3bf0283a2a157a11481c715961..6e9a023fa46940a4d534f752cc833a324a9739a4 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the member function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("member").should == "function_member"
index 78810cf6b974aeed742ec00de4d7e7a88d542573..9e8a619c73be2ab8af6677a374421c02eb3433e1 100644 (file)
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:merge) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   describe 'when calling merge from puppet' do
     it "should not compile when no arguments are passed" do
index 907b6a3e0961ed99607960892b0c21ba684a326c..640c68985794bc975cd660cac83c88231c3a1ef2 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the num2bool function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("num2bool").should == "function_num2bool"
index 4eb17437a3cf85f08a6eec183c8e1ea820f2f29b..f179ac111a6f60cf5cbbf95166262abcb65b9aad 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the parsejson function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("parsejson").should == "function_parsejson"
index 39ec1849335832ebc395b073d7131b7accacfae4..0c7aea8a5ab4621566d638e0e48488597130c2db 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the parseyaml function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("parseyaml").should == "function_parseyaml"
index 4a55cc4c4ff4afe1dc9c41ce0c9d9f5773d1571d..5cf592bfba6da1b73913a57506d72f8d798ad323 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the prefix function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("prefix").should == "function_prefix"
index e1bd898cc6ed35b1a2547fbc7bb5c12cb0f238b6..42751f460b05e075b57eaf263163bd19b1b23417 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the range function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("range").should == "function_range"
index 8024cb3bea0914d37e12e222ceb71ec402329362..1b59206547891656c04458434436a775e1f6846f 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the reverse function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("reverse").should == "function_reverse"
index 99f4dde8358e9001b6ef84fda574ee55e881e338..d90de1d06093aa929c9dd42cc4805f8df7bb87ba 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the rstrip function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("rstrip").should == "function_rstrip"
index 4bb77f28c7ca2947f3918dae577eb63e7624288d..93346d5370009cb54f433b61d6c10530447dded8 100644 (file)
@@ -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"
index 42c02098f8bf6e836dc054b0a658dfa26975deb5..b1c435a3027a958997c0229d981a8918214515fd 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the size function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("size").should == "function_size"
index f0e9649c0857cf3bf9a663fb2fc277c253e3990c..3187a5aecbc492af56da0a4f5a248eb771f9106d 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the sort function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("sort").should == "function_sort"
index 8acec6430c50023a021f16a16101b90911ed6588..60e5a3028db9b88875c9048a0258ef62e319acce 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the squeeze function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("squeeze").should == "function_squeeze"
index 2f01338da238cc727a09ed5367503c97ea643c63..2782bbea85a8345d2c8cb0518458b9ee815c0431 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the str2bool function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("str2bool").should == "function_str2bool"
index bb45371942a8c535a8ee0843e9e229fad9d6680c..df42b6f26bd1cfe2d7dd373439ee47f7fd8a5a89 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the strftime function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("strftime").should == "function_strftime"
index 47a0e0d7ea424f0d43690e8547e40b5c8a567cd5..fccdd26067c7ecfa1aa3ca3baef595f769411024 100644 (file)
@@ -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
index 9806d3836789d295272ba9aeb81225a43343cb2e..808b415876775e3df7b74ea230e072fb1c67b5ac 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the swapcase function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("swapcase").should == "function_swapcase"
index 32c3ab4f21f07460ab64d64d2135fbf856b495db..e9fb76e6ac3c8f6f2f71a16e62c5abe898afe5c5 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the time function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("time").should == "function_time"
index c7babc6a3f5d4da5aced0f65ca83a570ec4963d3..8fec88f2660ab23b15f5ee52c53e6c80255aef2d 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the type function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
   it "should exist" do
     Puppet::Parser::Functions.function("type").should == "function_type"
   end
index c0c5872ff6bc70c4c8e3ea0245a9211ee4c35c7f..5d48d49b723e3b85d2e9afb39f77e0fb18921cff 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the unique function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("unique").should == "function_unique"
index f507009e7d9865bfaaddd16d29e0e0594d9c986e..5db55138a6935c45c4de9a392f5f583733783c5f 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the upcase function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("upcase").should == "function_upcase"
index f015e4205b656b8db59ae4087c8ffe82281d0512..8eee72abbf93c9931707414e9ef1e0809bb3d9ab 100644 (file)
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:validate_array) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
   describe 'when calling validate_array from puppet' do
 
     %w{ true false }.each do |the_string|
index 798b129243ed05db888540c7172e1cdab2f269d5..31ab8fb72a1fddb6b954ad9c74bd340f2bad9fed 100644 (file)
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:validate_bool) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
   describe 'when calling validate_bool from puppet' do
 
     %w{ true false }.each do |the_string|
index aad8271a894e8123f8cde674811813efa453eff6..f63db1dc2d11fb01284e503f95873803d0e12813 100644 (file)
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:validate_hash) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   describe 'when calling validate_hash from puppet' do
 
index caeefa0113748dd1b7da883c22d61929384df7bf..f40bf2a20eef44ad38df157aa1933a469d38ed49 100644 (file)
@@ -3,7 +3,7 @@
 require 'spec_helper'
 
 describe Puppet::Parser::Functions.function(:validate_string) do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   describe 'when calling validate_string from puppet' do
 
index 8e7bfa2571aec065bb786accddd97a6d6632e8bd..08e95a567bc436178f033acf1d057197e66d5d64 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the values_at function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("values_at").should == "function_values_at"
index cd2f107b36abbbf5d106d4a7f4068eb6edc03f44..14ae4176380d46bf3fda26d52e64b97fa515dea6 100644 (file)
@@ -2,7 +2,7 @@
 require 'spec_helper'
 
 describe "the values function" do
-  let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope }
+  let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
 
   it "should exist" do
     Puppet::Parser::Functions.function("values").should == "function_values"
index b6d87139eba8101da2a9365cdf69f21d397c8e71..f45ab17308d8f6d71c761bb5baad46b2e1887513 100644 (file)
@@ -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))