summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/puppet/parser/functions/abs_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/bool2num_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/capitalize_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/chomp_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/chop_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/delete_at_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/delete_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/downcase_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/empty_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/flatten_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/getvar_spec.rb2
-rwxr-xr-xspec/unit/puppet/parser/functions/grep_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/has_key_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/hash_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_array_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_domain_name_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_float_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_hash_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_integer_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_ip_address_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_mac_address_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_numeric_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/is_string_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/join_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/keys_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/lstrip_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/member_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/merge_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/num2bool_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/parsejson_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/parseyaml_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/prefix_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/range_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/reverse_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/rstrip_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/shuffle_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/size_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/sort_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/squeeze_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/str2bool_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/strftime_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/strip_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/swapcase_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/time_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/type_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/unique_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/upcase_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_array_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_bool_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_hash_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_string_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/values_at_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/values_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/zip_spec.rb2
54 files changed, 54 insertions, 54 deletions
diff --git a/spec/unit/puppet/parser/functions/abs_spec.rb b/spec/unit/puppet/parser/functions/abs_spec.rb
index 68e1b3a..c0b4297 100755
--- a/spec/unit/puppet/parser/functions/abs_spec.rb
+++ b/spec/unit/puppet/parser/functions/abs_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/bool2num_spec.rb b/spec/unit/puppet/parser/functions/bool2num_spec.rb
index d54f089..518ac85 100755
--- a/spec/unit/puppet/parser/functions/bool2num_spec.rb
+++ b/spec/unit/puppet/parser/functions/bool2num_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/capitalize_spec.rb b/spec/unit/puppet/parser/functions/capitalize_spec.rb
index 9736d5f..69c9758 100755
--- a/spec/unit/puppet/parser/functions/capitalize_spec.rb
+++ b/spec/unit/puppet/parser/functions/capitalize_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/chomp_spec.rb b/spec/unit/puppet/parser/functions/chomp_spec.rb
index 1aacaa0..e425365 100755
--- a/spec/unit/puppet/parser/functions/chomp_spec.rb
+++ b/spec/unit/puppet/parser/functions/chomp_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/chop_spec.rb b/spec/unit/puppet/parser/functions/chop_spec.rb
index b12a4d1..9e466de 100755
--- a/spec/unit/puppet/parser/functions/chop_spec.rb
+++ b/spec/unit/puppet/parser/functions/chop_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/delete_at_spec.rb b/spec/unit/puppet/parser/functions/delete_at_spec.rb
index d6a21da..d8d9618 100755
--- a/spec/unit/puppet/parser/functions/delete_at_spec.rb
+++ b/spec/unit/puppet/parser/functions/delete_at_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/delete_spec.rb b/spec/unit/puppet/parser/functions/delete_spec.rb
index 74d46fc..0549232 100755
--- a/spec/unit/puppet/parser/functions/delete_spec.rb
+++ b/spec/unit/puppet/parser/functions/delete_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/downcase_spec.rb b/spec/unit/puppet/parser/functions/downcase_spec.rb
index 5c2ebe6..acef1f0 100755
--- a/spec/unit/puppet/parser/functions/downcase_spec.rb
+++ b/spec/unit/puppet/parser/functions/downcase_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/empty_spec.rb b/spec/unit/puppet/parser/functions/empty_spec.rb
index 75eec5a..7745875 100755
--- a/spec/unit/puppet/parser/functions/empty_spec.rb
+++ b/spec/unit/puppet/parser/functions/empty_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/flatten_spec.rb b/spec/unit/puppet/parser/functions/flatten_spec.rb
index adb03f4..d4dfd20 100755
--- a/spec/unit/puppet/parser/functions/flatten_spec.rb
+++ b/spec/unit/puppet/parser/functions/flatten_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/getvar_spec.rb b/spec/unit/puppet/parser/functions/getvar_spec.rb
index 0fb9c83..62ad192 100644
--- a/spec/unit/puppet/parser/functions/getvar_spec.rb
+++ b/spec/unit/puppet/parser/functions/getvar_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/grep_spec.rb b/spec/unit/puppet/parser/functions/grep_spec.rb
index d84c401..a93b842 100755
--- a/spec/unit/puppet/parser/functions/grep_spec.rb
+++ b/spec/unit/puppet/parser/functions/grep_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/has_key_spec.rb b/spec/unit/puppet/parser/functions/has_key_spec.rb
index 20ba57e..ae5baf7 100644
--- a/spec/unit/puppet/parser/functions/has_key_spec.rb
+++ b/spec/unit/puppet/parser/functions/has_key_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/hash_spec.rb b/spec/unit/puppet/parser/functions/hash_spec.rb
index ee09ef7..7c91be9 100644
--- a/spec/unit/puppet/parser/functions/hash_spec.rb
+++ b/spec/unit/puppet/parser/functions/hash_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_array_spec.rb b/spec/unit/puppet/parser/functions/is_array_spec.rb
index ebd472b..e7f4bcd 100644
--- a/spec/unit/puppet/parser/functions/is_array_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_array_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_domain_name_spec.rb b/spec/unit/puppet/parser/functions/is_domain_name_spec.rb
index d8467bf..f2ea76d 100644
--- a/spec/unit/puppet/parser/functions/is_domain_name_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_domain_name_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_float_spec.rb b/spec/unit/puppet/parser/functions/is_float_spec.rb
index a00f4bc..2f527d9 100644
--- a/spec/unit/puppet/parser/functions/is_float_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_float_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_hash_spec.rb b/spec/unit/puppet/parser/functions/is_hash_spec.rb
index 3f765d4..bbebf39 100644
--- a/spec/unit/puppet/parser/functions/is_hash_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_hash_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_integer_spec.rb b/spec/unit/puppet/parser/functions/is_integer_spec.rb
index 56735ff..5afbba4 100644
--- a/spec/unit/puppet/parser/functions/is_integer_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_integer_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_ip_address_spec.rb b/spec/unit/puppet/parser/functions/is_ip_address_spec.rb
index d231440..c0debb3 100644
--- a/spec/unit/puppet/parser/functions/is_ip_address_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_ip_address_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_mac_address_spec.rb b/spec/unit/puppet/parser/functions/is_mac_address_spec.rb
index 0dcacb1..ca9c590 100644
--- a/spec/unit/puppet/parser/functions/is_mac_address_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_mac_address_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_numeric_spec.rb b/spec/unit/puppet/parser/functions/is_numeric_spec.rb
index 9c1aa40..4078b37 100644
--- a/spec/unit/puppet/parser/functions/is_numeric_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_numeric_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/is_string_spec.rb b/spec/unit/puppet/parser/functions/is_string_spec.rb
index 36c612c..3756bea 100644
--- a/spec/unit/puppet/parser/functions/is_string_spec.rb
+++ b/spec/unit/puppet/parser/functions/is_string_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/join_spec.rb b/spec/unit/puppet/parser/functions/join_spec.rb
index 694fdce..aafa1a7 100644
--- a/spec/unit/puppet/parser/functions/join_spec.rb
+++ b/spec/unit/puppet/parser/functions/join_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/keys_spec.rb b/spec/unit/puppet/parser/functions/keys_spec.rb
index def4a28..fdd7a70 100644
--- a/spec/unit/puppet/parser/functions/keys_spec.rb
+++ b/spec/unit/puppet/parser/functions/keys_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/lstrip_spec.rb b/spec/unit/puppet/parser/functions/lstrip_spec.rb
index 77c18c7..b280ae7 100644
--- a/spec/unit/puppet/parser/functions/lstrip_spec.rb
+++ b/spec/unit/puppet/parser/functions/lstrip_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/member_spec.rb b/spec/unit/puppet/parser/functions/member_spec.rb
index e939d95..6e9a023 100644
--- a/spec/unit/puppet/parser/functions/member_spec.rb
+++ b/spec/unit/puppet/parser/functions/member_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/merge_spec.rb b/spec/unit/puppet/parser/functions/merge_spec.rb
index 78810cf..9e8a619 100644
--- a/spec/unit/puppet/parser/functions/merge_spec.rb
+++ b/spec/unit/puppet/parser/functions/merge_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/num2bool_spec.rb b/spec/unit/puppet/parser/functions/num2bool_spec.rb
index 907b6a3..640c689 100644
--- a/spec/unit/puppet/parser/functions/num2bool_spec.rb
+++ b/spec/unit/puppet/parser/functions/num2bool_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/parsejson_spec.rb b/spec/unit/puppet/parser/functions/parsejson_spec.rb
index 4eb1743..f179ac1 100644
--- a/spec/unit/puppet/parser/functions/parsejson_spec.rb
+++ b/spec/unit/puppet/parser/functions/parsejson_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/parseyaml_spec.rb b/spec/unit/puppet/parser/functions/parseyaml_spec.rb
index 39ec184..0c7aea8 100644
--- a/spec/unit/puppet/parser/functions/parseyaml_spec.rb
+++ b/spec/unit/puppet/parser/functions/parseyaml_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/prefix_spec.rb b/spec/unit/puppet/parser/functions/prefix_spec.rb
index 4a55cc4..5cf592b 100644
--- a/spec/unit/puppet/parser/functions/prefix_spec.rb
+++ b/spec/unit/puppet/parser/functions/prefix_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/range_spec.rb b/spec/unit/puppet/parser/functions/range_spec.rb
index e1bd898..42751f4 100644
--- a/spec/unit/puppet/parser/functions/range_spec.rb
+++ b/spec/unit/puppet/parser/functions/range_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/reverse_spec.rb b/spec/unit/puppet/parser/functions/reverse_spec.rb
index 8024cb3..1b59206 100644
--- a/spec/unit/puppet/parser/functions/reverse_spec.rb
+++ b/spec/unit/puppet/parser/functions/reverse_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/rstrip_spec.rb b/spec/unit/puppet/parser/functions/rstrip_spec.rb
index 99f4dde..d90de1d 100644
--- a/spec/unit/puppet/parser/functions/rstrip_spec.rb
+++ b/spec/unit/puppet/parser/functions/rstrip_spec.rb
@@ -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"
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"
diff --git a/spec/unit/puppet/parser/functions/size_spec.rb b/spec/unit/puppet/parser/functions/size_spec.rb
index 42c0209..b1c435a 100644
--- a/spec/unit/puppet/parser/functions/size_spec.rb
+++ b/spec/unit/puppet/parser/functions/size_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/sort_spec.rb b/spec/unit/puppet/parser/functions/sort_spec.rb
index f0e9649..3187a5a 100644
--- a/spec/unit/puppet/parser/functions/sort_spec.rb
+++ b/spec/unit/puppet/parser/functions/sort_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/squeeze_spec.rb b/spec/unit/puppet/parser/functions/squeeze_spec.rb
index 8acec64..60e5a30 100644
--- a/spec/unit/puppet/parser/functions/squeeze_spec.rb
+++ b/spec/unit/puppet/parser/functions/squeeze_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/str2bool_spec.rb b/spec/unit/puppet/parser/functions/str2bool_spec.rb
index 2f01338..2782bbe 100644
--- a/spec/unit/puppet/parser/functions/str2bool_spec.rb
+++ b/spec/unit/puppet/parser/functions/str2bool_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/strftime_spec.rb b/spec/unit/puppet/parser/functions/strftime_spec.rb
index bb45371..df42b6f 100644
--- a/spec/unit/puppet/parser/functions/strftime_spec.rb
+++ b/spec/unit/puppet/parser/functions/strftime_spec.rb
@@ -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"
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
diff --git a/spec/unit/puppet/parser/functions/swapcase_spec.rb b/spec/unit/puppet/parser/functions/swapcase_spec.rb
index 9806d38..808b415 100644
--- a/spec/unit/puppet/parser/functions/swapcase_spec.rb
+++ b/spec/unit/puppet/parser/functions/swapcase_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/time_spec.rb b/spec/unit/puppet/parser/functions/time_spec.rb
index 32c3ab4..e9fb76e 100644
--- a/spec/unit/puppet/parser/functions/time_spec.rb
+++ b/spec/unit/puppet/parser/functions/time_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/type_spec.rb b/spec/unit/puppet/parser/functions/type_spec.rb
index c7babc6..8fec88f 100644
--- a/spec/unit/puppet/parser/functions/type_spec.rb
+++ b/spec/unit/puppet/parser/functions/type_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/unique_spec.rb b/spec/unit/puppet/parser/functions/unique_spec.rb
index c0c5872..5d48d49 100644
--- a/spec/unit/puppet/parser/functions/unique_spec.rb
+++ b/spec/unit/puppet/parser/functions/unique_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/upcase_spec.rb b/spec/unit/puppet/parser/functions/upcase_spec.rb
index f507009..5db5513 100644
--- a/spec/unit/puppet/parser/functions/upcase_spec.rb
+++ b/spec/unit/puppet/parser/functions/upcase_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/validate_array_spec.rb b/spec/unit/puppet/parser/functions/validate_array_spec.rb
index f015e42..8eee72a 100644
--- a/spec/unit/puppet/parser/functions/validate_array_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_array_spec.rb
@@ -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|
diff --git a/spec/unit/puppet/parser/functions/validate_bool_spec.rb b/spec/unit/puppet/parser/functions/validate_bool_spec.rb
index 798b129..31ab8fb 100644
--- a/spec/unit/puppet/parser/functions/validate_bool_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_bool_spec.rb
@@ -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|
diff --git a/spec/unit/puppet/parser/functions/validate_hash_spec.rb b/spec/unit/puppet/parser/functions/validate_hash_spec.rb
index aad8271..f63db1d 100644
--- a/spec/unit/puppet/parser/functions/validate_hash_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_hash_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/validate_string_spec.rb b/spec/unit/puppet/parser/functions/validate_string_spec.rb
index caeefa0..f40bf2a 100644
--- a/spec/unit/puppet/parser/functions/validate_string_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_string_spec.rb
@@ -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
diff --git a/spec/unit/puppet/parser/functions/values_at_spec.rb b/spec/unit/puppet/parser/functions/values_at_spec.rb
index 8e7bfa2..08e95a5 100644
--- a/spec/unit/puppet/parser/functions/values_at_spec.rb
+++ b/spec/unit/puppet/parser/functions/values_at_spec.rb
@@ -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"
diff --git a/spec/unit/puppet/parser/functions/values_spec.rb b/spec/unit/puppet/parser/functions/values_spec.rb
index cd2f107..14ae417 100644
--- a/spec/unit/puppet/parser/functions/values_spec.rb
+++ b/spec/unit/puppet/parser/functions/values_spec.rb
@@ -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"
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))