summaryrefslogtreecommitdiffstats
path: root/spec/unit/parser/functions
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-13 00:35:11 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-13 00:36:38 -0700
commitdb11770718c61f9ee3d5fcd703c5c0c7c05227ca (patch)
tree95c35f65addba0d408cb7f5c9e2c5de53724a737 /spec/unit/parser/functions
parent4dd6a77481400b7eeac3377267d092d4c6d22da3 (diff)
downloadpuppet-db11770718c61f9ee3d5fcd703c5c0c7c05227ca.tar.gz
puppet-db11770718c61f9ee3d5fcd703c5c0c7c05227ca.tar.xz
puppet-db11770718c61f9ee3d5fcd703c5c0c7c05227ca.zip
maint: clean up the spec test headers in bulk.
We now use a shebang of: #!/usr/bin/env rspec This enables the direct execution of spec tests again, which was lost earlier during the transition to more directly using the rspec2 runtime environment.
Diffstat (limited to 'spec/unit/parser/functions')
-rwxr-xr-xspec/unit/parser/functions/defined_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/extlookup_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/fqdn_rand_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/generate_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/include_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/inline_template_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/realize_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/regsubst_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/require_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/shellquote_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/split_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/sprintf_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/tag_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/template_spec.rb3
-rwxr-xr-xspec/unit/parser/functions/versioncmp_spec.rb3
15 files changed, 15 insertions, 30 deletions
diff --git a/spec/unit/parser/functions/defined_spec.rb b/spec/unit/parser/functions/defined_spec.rb
index 8b0fb4e2f..0651864fb 100755
--- a/spec/unit/parser/functions/defined_spec.rb
+++ b/spec/unit/parser/functions/defined_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the 'defined' function" do
diff --git a/spec/unit/parser/functions/extlookup_spec.rb b/spec/unit/parser/functions/extlookup_spec.rb
index ad89f6575..f68daaf3f 100755
--- a/spec/unit/parser/functions/extlookup_spec.rb
+++ b/spec/unit/parser/functions/extlookup_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
require 'tempfile'
diff --git a/spec/unit/parser/functions/fqdn_rand_spec.rb b/spec/unit/parser/functions/fqdn_rand_spec.rb
index 90792e182..90fc0ef41 100755
--- a/spec/unit/parser/functions/fqdn_rand_spec.rb
+++ b/spec/unit/parser/functions/fqdn_rand_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the fqdn_rand function" do
diff --git a/spec/unit/parser/functions/generate_spec.rb b/spec/unit/parser/functions/generate_spec.rb
index 3351291d5..6c90ae531 100755
--- a/spec/unit/parser/functions/generate_spec.rb
+++ b/spec/unit/parser/functions/generate_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the generate function" do
diff --git a/spec/unit/parser/functions/include_spec.rb b/spec/unit/parser/functions/include_spec.rb
index b477f1439..15206cd7c 100755
--- a/spec/unit/parser/functions/include_spec.rb
+++ b/spec/unit/parser/functions/include_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the 'include' function" do
diff --git a/spec/unit/parser/functions/inline_template_spec.rb b/spec/unit/parser/functions/inline_template_spec.rb
index e009870c5..a9ac0c2d0 100755
--- a/spec/unit/parser/functions/inline_template_spec.rb
+++ b/spec/unit/parser/functions/inline_template_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the inline_template function" do
diff --git a/spec/unit/parser/functions/realize_spec.rb b/spec/unit/parser/functions/realize_spec.rb
index 7a039c002..159805cbd 100755
--- a/spec/unit/parser/functions/realize_spec.rb
+++ b/spec/unit/parser/functions/realize_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the realize function" do
diff --git a/spec/unit/parser/functions/regsubst_spec.rb b/spec/unit/parser/functions/regsubst_spec.rb
index 0cab3d18c..4ed3bcf68 100755
--- a/spec/unit/parser/functions/regsubst_spec.rb
+++ b/spec/unit/parser/functions/regsubst_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the regsubst function" do
diff --git a/spec/unit/parser/functions/require_spec.rb b/spec/unit/parser/functions/require_spec.rb
index cb89db3a1..692b35305 100755
--- a/spec/unit/parser/functions/require_spec.rb
+++ b/spec/unit/parser/functions/require_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the require function" do
diff --git a/spec/unit/parser/functions/shellquote_spec.rb b/spec/unit/parser/functions/shellquote_spec.rb
index 86181dee0..b100b4913 100755
--- a/spec/unit/parser/functions/shellquote_spec.rb
+++ b/spec/unit/parser/functions/shellquote_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the shellquote function" do
diff --git a/spec/unit/parser/functions/split_spec.rb b/spec/unit/parser/functions/split_spec.rb
index e321b6d9f..18a21a0cf 100755
--- a/spec/unit/parser/functions/split_spec.rb
+++ b/spec/unit/parser/functions/split_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the split function" do
diff --git a/spec/unit/parser/functions/sprintf_spec.rb b/spec/unit/parser/functions/sprintf_spec.rb
index 49c5324f8..bd4863f23 100755
--- a/spec/unit/parser/functions/sprintf_spec.rb
+++ b/spec/unit/parser/functions/sprintf_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the sprintf function" do
diff --git a/spec/unit/parser/functions/tag_spec.rb b/spec/unit/parser/functions/tag_spec.rb
index a8c57b7a4..e8a07e1bb 100755
--- a/spec/unit/parser/functions/tag_spec.rb
+++ b/spec/unit/parser/functions/tag_spec.rb
@@ -1,5 +1,4 @@
-#! /usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the 'tag' function" do
diff --git a/spec/unit/parser/functions/template_spec.rb b/spec/unit/parser/functions/template_spec.rb
index 64d992297..e7ee974d3 100755
--- a/spec/unit/parser/functions/template_spec.rb
+++ b/spec/unit/parser/functions/template_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the template function" do
diff --git a/spec/unit/parser/functions/versioncmp_spec.rb b/spec/unit/parser/functions/versioncmp_spec.rb
index d7ae0152a..6fc724c38 100755
--- a/spec/unit/parser/functions/versioncmp_spec.rb
+++ b/spec/unit/parser/functions/versioncmp_spec.rb
@@ -1,5 +1,4 @@
-#!/usr/bin/env ruby
-
+#!/usr/bin/env rspec
require 'spec_helper'
describe "the versioncmp function" do