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'
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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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

View 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

View file

@ -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"

View 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

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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"

View 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

View 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"

View 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"

View 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

View 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"

View 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"

View 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|

View 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|

View 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

View 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

View 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"

View 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"

View 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))