Merge pull request #81 from jeffmccune/maint/2.2.x/rename_seams_to_internals

(Maint) Rename PuppetlabsSpec::Puppet{Seams,Internals}
This commit is contained in:
Jeff McCune 2012-07-23 08:51:13 -07:00
commit a1bab586ba
54 changed files with 54 additions and 54 deletions

View file

@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
describe "the abs function" do describe "the abs function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("abs").should == "function_abs" Puppet::Parser::Functions.function("abs").should == "function_abs"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the bool2num function" do describe "the bool2num function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("bool2num").should == "function_bool2num" Puppet::Parser::Functions.function("bool2num").should == "function_bool2num"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the capitalize function" do describe "the capitalize function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("capitalize").should == "function_capitalize" Puppet::Parser::Functions.function("capitalize").should == "function_capitalize"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the chomp function" do describe "the chomp function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("chomp").should == "function_chomp" Puppet::Parser::Functions.function("chomp").should == "function_chomp"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the chop function" do describe "the chop function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("chop").should == "function_chop" Puppet::Parser::Functions.function("chop").should == "function_chop"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the delete_at function" do describe "the delete_at function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("delete_at").should == "function_delete_at" Puppet::Parser::Functions.function("delete_at").should == "function_delete_at"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the delete function" do describe "the delete function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("delete").should == "function_delete" Puppet::Parser::Functions.function("delete").should == "function_delete"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the downcase function" do describe "the downcase function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("downcase").should == "function_downcase" Puppet::Parser::Functions.function("downcase").should == "function_downcase"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the empty function" do describe "the empty function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("empty").should == "function_empty" Puppet::Parser::Functions.function("empty").should == "function_empty"
end end

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the flatten function" do describe "the flatten function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("flatten").should == "function_flatten" Puppet::Parser::Functions.function("flatten").should == "function_flatten"
end end

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:getvar) do 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 describe 'when calling getvar from puppet' do
it "should not compile when no arguments are passed" do it "should not compile when no arguments are passed" do

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the grep function" do describe "the grep function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("grep").should == "function_grep" Puppet::Parser::Functions.function("grep").should == "function_grep"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:has_key) do 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 describe 'when calling has_key from puppet' do
it "should not compile when no arguments are passed" do it "should not compile when no arguments are passed" do

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the hash function" do describe "the hash function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("hash").should == "function_hash" Puppet::Parser::Functions.function("hash").should == "function_hash"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_array function" do describe "the is_array function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_array").should == "function_is_array" Puppet::Parser::Functions.function("is_array").should == "function_is_array"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_domain_name function" do describe "the is_domain_name function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_domain_name").should == "function_is_domain_name" Puppet::Parser::Functions.function("is_domain_name").should == "function_is_domain_name"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_float function" do describe "the is_float function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_float").should == "function_is_float" Puppet::Parser::Functions.function("is_float").should == "function_is_float"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_hash function" do describe "the is_hash function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_hash").should == "function_is_hash" Puppet::Parser::Functions.function("is_hash").should == "function_is_hash"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_integer function" do describe "the is_integer function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_integer").should == "function_is_integer" Puppet::Parser::Functions.function("is_integer").should == "function_is_integer"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_ip_address function" do describe "the is_ip_address function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_ip_address").should == "function_is_ip_address" Puppet::Parser::Functions.function("is_ip_address").should == "function_is_ip_address"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_mac_address function" do describe "the is_mac_address function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_mac_address").should == "function_is_mac_address" Puppet::Parser::Functions.function("is_mac_address").should == "function_is_mac_address"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_numeric function" do describe "the is_numeric function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_numeric").should == "function_is_numeric" Puppet::Parser::Functions.function("is_numeric").should == "function_is_numeric"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the is_string function" do describe "the is_string function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("is_string").should == "function_is_string" Puppet::Parser::Functions.function("is_string").should == "function_is_string"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the join function" do describe "the join function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("join").should == "function_join" Puppet::Parser::Functions.function("join").should == "function_join"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the keys function" do describe "the keys function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("keys").should == "function_keys" Puppet::Parser::Functions.function("keys").should == "function_keys"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the lstrip function" do describe "the lstrip function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("lstrip").should == "function_lstrip" Puppet::Parser::Functions.function("lstrip").should == "function_lstrip"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the member function" do describe "the member function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("member").should == "function_member" Puppet::Parser::Functions.function("member").should == "function_member"

View file

@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:merge) do 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 describe 'when calling merge from puppet' do
it "should not compile when no arguments are passed" do it "should not compile when no arguments are passed" do

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the num2bool function" do describe "the num2bool function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("num2bool").should == "function_num2bool" Puppet::Parser::Functions.function("num2bool").should == "function_num2bool"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the parsejson function" do describe "the parsejson function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("parsejson").should == "function_parsejson" Puppet::Parser::Functions.function("parsejson").should == "function_parsejson"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the parseyaml function" do describe "the parseyaml function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("parseyaml").should == "function_parseyaml" Puppet::Parser::Functions.function("parseyaml").should == "function_parseyaml"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the prefix function" do describe "the prefix function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("prefix").should == "function_prefix" Puppet::Parser::Functions.function("prefix").should == "function_prefix"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the range function" do describe "the range function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("range").should == "function_range" Puppet::Parser::Functions.function("range").should == "function_range"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the reverse function" do describe "the reverse function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("reverse").should == "function_reverse" Puppet::Parser::Functions.function("reverse").should == "function_reverse"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the rstrip function" do describe "the rstrip function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("rstrip").should == "function_rstrip" Puppet::Parser::Functions.function("rstrip").should == "function_rstrip"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the shuffle function" do describe "the shuffle function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("shuffle").should == "function_shuffle" Puppet::Parser::Functions.function("shuffle").should == "function_shuffle"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the size function" do describe "the size function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("size").should == "function_size" Puppet::Parser::Functions.function("size").should == "function_size"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the sort function" do describe "the sort function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("sort").should == "function_sort" Puppet::Parser::Functions.function("sort").should == "function_sort"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the squeeze function" do describe "the squeeze function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("squeeze").should == "function_squeeze" Puppet::Parser::Functions.function("squeeze").should == "function_squeeze"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the str2bool function" do describe "the str2bool function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("str2bool").should == "function_str2bool" Puppet::Parser::Functions.function("str2bool").should == "function_str2bool"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the strftime function" do describe "the strftime function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("strftime").should == "function_strftime" Puppet::Parser::Functions.function("strftime").should == "function_strftime"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the strip function" do describe "the strip function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("strip").should == "function_strip" Puppet::Parser::Functions.function("strip").should == "function_strip"
end end

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the swapcase function" do describe "the swapcase function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("swapcase").should == "function_swapcase" Puppet::Parser::Functions.function("swapcase").should == "function_swapcase"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the time function" do describe "the time function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("time").should == "function_time" Puppet::Parser::Functions.function("time").should == "function_time"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the type function" do describe "the type function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("type").should == "function_type" Puppet::Parser::Functions.function("type").should == "function_type"
end end

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the unique function" do describe "the unique function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("unique").should == "function_unique" Puppet::Parser::Functions.function("unique").should == "function_unique"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the upcase function" do describe "the upcase function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("upcase").should == "function_upcase" Puppet::Parser::Functions.function("upcase").should == "function_upcase"

View file

@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_array) do 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 describe 'when calling validate_array from puppet' do
%w{ true false }.each do |the_string| %w{ true false }.each do |the_string|

View file

@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_bool) do 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 describe 'when calling validate_bool from puppet' do
%w{ true false }.each do |the_string| %w{ true false }.each do |the_string|

View file

@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_hash) do 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 describe 'when calling validate_hash from puppet' do

View file

@ -3,7 +3,7 @@
require 'spec_helper' require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_string) do 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 describe 'when calling validate_string from puppet' do

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the values_at function" do describe "the values_at function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("values_at").should == "function_values_at" Puppet::Parser::Functions.function("values_at").should == "function_values_at"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the values function" do describe "the values function" do
let(:scope) { PuppetlabsSpec::PuppetSeams.parser_scope } let(:scope) { PuppetlabsSpec::PuppetInternals.scope }
it "should exist" do it "should exist" do
Puppet::Parser::Functions.function("values").should == "function_values" Puppet::Parser::Functions.function("values").should == "function_values"

View file

@ -2,7 +2,7 @@
require 'spec_helper' require 'spec_helper'
describe "the zip function" do 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 it "should raise a ParseError if there is less than 1 arguments" do
lambda { scope.function_zip([]) }.should( raise_error(Puppet::ParseError)) lambda { scope.function_zip([]) }.should( raise_error(Puppet::ParseError))