summaryrefslogtreecommitdiff
path: root/spec/unit/puppet
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-05-07 09:53:30 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-05-07 09:53:30 -0700
commit176ff3abdc1e63de02d6d8d9cb2d70c09f7b7766 (patch)
treec9b45412f856675d7aa2034ebe8484ed0004e294 /spec/unit/puppet
parente962b9553b8d79b36faa90ef6e002649820208a3 (diff)
parent09f892023c726eabaa85a308c2dbffd8e8b71fbd (diff)
Merge pull request #248 from averi/master
Add the missing shebangs and fix the wrong ones
Diffstat (limited to 'spec/unit/puppet')
-rw-r--r--spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb1
-rw-r--r--spec/unit/puppet/parser/functions/validate_augeas_spec.rb1
-rw-r--r--spec/unit/puppet/parser/functions/validate_bool_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_cmd_spec.rb1
-rw-r--r--spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb2
-rw-r--r--spec/unit/puppet/parser/functions/validate_re_spec.rb1
-rw-r--r--spec/unit/puppet/provider/file_line/ruby_spec.rb1
-rw-r--r--spec/unit/puppet/type/file_line_spec.rb1
9 files changed, 9 insertions, 3 deletions
diff --git a/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb b/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
index 1c9cce2..342ae84 100644
--- a/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_absolute_path_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_absolute_path) do
diff --git a/spec/unit/puppet/parser/functions/validate_augeas_spec.rb b/spec/unit/puppet/parser/functions/validate_augeas_spec.rb
index ab5c140..c695ba2 100644
--- a/spec/unit/puppet/parser/functions/validate_augeas_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_augeas_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_augeas), :if => Puppet.features.augeas? do
diff --git a/spec/unit/puppet/parser/functions/validate_bool_spec.rb b/spec/unit/puppet/parser/functions/validate_bool_spec.rb
index 261fb23..a352d3b 100644
--- a/spec/unit/puppet/parser/functions/validate_bool_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_bool_spec.rb
@@ -1,4 +1,4 @@
-#! /usr/bin/env/ruby -S rspec
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
diff --git a/spec/unit/puppet/parser/functions/validate_cmd_spec.rb b/spec/unit/puppet/parser/functions/validate_cmd_spec.rb
index a86cb01..a6e68df 100644
--- a/spec/unit/puppet/parser/functions/validate_cmd_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_cmd_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
TESTEXE = File.exists?('/usr/bin/test') ? '/usr/bin/test' : '/bin/test'
diff --git a/spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb b/spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb
index 85536d3..45401a4 100644
--- a/spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_ipv4_address_spec.rb
@@ -1,4 +1,4 @@
-#! /usr/bin/env/ruby -S rspec
+#! /usr/bin/env ruby -S rspec
require "spec_helper"
diff --git a/spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb b/spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb
index 1fe5304..a839d90 100644
--- a/spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_ipv6_address_spec.rb
@@ -1,4 +1,4 @@
-#! /usr/bin/env/ruby -S rspec
+#! /usr/bin/env ruby -S rspec
require "spec_helper"
diff --git a/spec/unit/puppet/parser/functions/validate_re_spec.rb b/spec/unit/puppet/parser/functions/validate_re_spec.rb
index d189efb..d29988b 100644
--- a/spec/unit/puppet/parser/functions/validate_re_spec.rb
+++ b/spec/unit/puppet/parser/functions/validate_re_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
describe Puppet::Parser::Functions.function(:validate_re) do
diff --git a/spec/unit/puppet/provider/file_line/ruby_spec.rb b/spec/unit/puppet/provider/file_line/ruby_spec.rb
index c356bd2..a016b68 100644
--- a/spec/unit/puppet/provider/file_line/ruby_spec.rb
+++ b/spec/unit/puppet/provider/file_line/ruby_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'tempfile'
provider_class = Puppet::Type.type(:file_line).provider(:ruby)
diff --git a/spec/unit/puppet/type/file_line_spec.rb b/spec/unit/puppet/type/file_line_spec.rb
index 34d5dad..ab5b81b 100644
--- a/spec/unit/puppet/type/file_line_spec.rb
+++ b/spec/unit/puppet/type/file_line_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'tempfile'
describe Puppet::Type.type(:file_line) do