diff options
Diffstat (limited to 'spec/lib')
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/compiler.rb | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/database.rb | 1 | ||||
-rwxr-xr-x | spec/lib/puppet_spec/files.rb | 1 | ||||
-rwxr-xr-x | spec/lib/puppet_spec/fixtures.rb | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/matchers.rb | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/modules.rb | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/pops.rb | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/scope.rb | 1 | ||||
-rwxr-xr-x[-rw-r--r--] | spec/lib/puppet_spec/settings.rb | 1 | ||||
-rwxr-xr-x | spec/lib/puppet_spec/verbose.rb | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/spec/lib/puppet_spec/compiler.rb b/spec/lib/puppet_spec/compiler.rb index 22e923d..2f0ae4d 100644..100755 --- a/spec/lib/puppet_spec/compiler.rb +++ b/spec/lib/puppet_spec/compiler.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec module PuppetSpec::Compiler def compile_to_catalog(string, node = Puppet::Node.new('foonode')) Puppet[:code] = string diff --git a/spec/lib/puppet_spec/database.rb b/spec/lib/puppet_spec/database.rb index 069ca15..f5c2341 100644..100755 --- a/spec/lib/puppet_spec/database.rb +++ b/spec/lib/puppet_spec/database.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec # This just makes some nice things available at global scope, and for setup of # tests to use a real fake database, rather than a fake stubs-that-don't-work # version of the same. Fun times. diff --git a/spec/lib/puppet_spec/files.rb b/spec/lib/puppet_spec/files.rb index 65b04aa..71b38ff 100755 --- a/spec/lib/puppet_spec/files.rb +++ b/spec/lib/puppet_spec/files.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec require 'fileutils' require 'tempfile' require 'tmpdir' diff --git a/spec/lib/puppet_spec/fixtures.rb b/spec/lib/puppet_spec/fixtures.rb index 7f6bc2a..81e9775 100755 --- a/spec/lib/puppet_spec/fixtures.rb +++ b/spec/lib/puppet_spec/fixtures.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec module PuppetSpec::Fixtures def fixtures(*rest) File.join(PuppetSpec::FIXTURE_DIR, *rest) diff --git a/spec/lib/puppet_spec/matchers.rb b/spec/lib/puppet_spec/matchers.rb index 448bd18..093d77c 100644..100755 --- a/spec/lib/puppet_spec/matchers.rb +++ b/spec/lib/puppet_spec/matchers.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec require 'stringio' ######################################################################## diff --git a/spec/lib/puppet_spec/modules.rb b/spec/lib/puppet_spec/modules.rb index 6835e44..910c6d9 100644..100755 --- a/spec/lib/puppet_spec/modules.rb +++ b/spec/lib/puppet_spec/modules.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec module PuppetSpec::Modules class << self def create(name, dir, options = {}) diff --git a/spec/lib/puppet_spec/pops.rb b/spec/lib/puppet_spec/pops.rb index 442c85b..e056a52 100644..100755 --- a/spec/lib/puppet_spec/pops.rb +++ b/spec/lib/puppet_spec/pops.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec module PuppetSpec::Pops extend RSpec::Matchers::DSL diff --git a/spec/lib/puppet_spec/scope.rb b/spec/lib/puppet_spec/scope.rb index c14ab47..3847ede 100644..100755 --- a/spec/lib/puppet_spec/scope.rb +++ b/spec/lib/puppet_spec/scope.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec module PuppetSpec::Scope # Initialize a new scope suitable for testing. diff --git a/spec/lib/puppet_spec/settings.rb b/spec/lib/puppet_spec/settings.rb index f3dbc42..8ddcb97 100644..100755 --- a/spec/lib/puppet_spec/settings.rb +++ b/spec/lib/puppet_spec/settings.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec module PuppetSpec::Settings # It would probably be preferable to refactor defaults.rb such that the real definitions of diff --git a/spec/lib/puppet_spec/verbose.rb b/spec/lib/puppet_spec/verbose.rb index d9834f2..b2683df 100755 --- a/spec/lib/puppet_spec/verbose.rb +++ b/spec/lib/puppet_spec/verbose.rb @@ -1,3 +1,4 @@ +#! /usr/bin/env ruby -S rspec # Support code for running stuff with warnings disabled. module Kernel def with_verbose_disabled |