summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorAndrea Veri <av@gnome.org>2014-05-07 11:49:25 +0200
committerAndrea Veri <av@gnome.org>2014-05-07 11:49:25 +0200
commit09f892023c726eabaa85a308c2dbffd8e8b71fbd (patch)
treec9b45412f856675d7aa2034ebe8484ed0004e294 /spec/unit
parente962b9553b8d79b36faa90ef6e002649820208a3 (diff)
Add the missing shebangs and fix the wrong ones for rpmlint to stop complaining loudly
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/facter/facter_dot_d_spec.rb1
-rw-r--r--spec/unit/facter/root_home_spec.rb1
-rw-r--r--spec/unit/facter/util/puppet_settings_spec.rb1
-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
12 files changed, 12 insertions, 3 deletions
diff --git a/spec/unit/facter/facter_dot_d_spec.rb b/spec/unit/facter/facter_dot_d_spec.rb
index 1ecffc8..2fb72b2 100644
--- a/spec/unit/facter/facter_dot_d_spec.rb
+++ b/spec/unit/facter/facter_dot_d_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'facter/facter_dot_d'
diff --git a/spec/unit/facter/root_home_spec.rb b/spec/unit/facter/root_home_spec.rb
index 532fae1..73eb3ea 100644
--- a/spec/unit/facter/root_home_spec.rb
+++ b/spec/unit/facter/root_home_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'facter/root_home'
diff --git a/spec/unit/facter/util/puppet_settings_spec.rb b/spec/unit/facter/util/puppet_settings_spec.rb
index c3ce6ea..e77779b 100644
--- a/spec/unit/facter/util/puppet_settings_spec.rb
+++ b/spec/unit/facter/util/puppet_settings_spec.rb
@@ -1,3 +1,4 @@
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'facter/util/puppet_settings'
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