diff options
author | Rick Bradley <rick@rickbradley.com> | 2008-02-18 10:34:21 -0600 |
---|---|---|
committer | Rick Bradley <rick@rickbradley.com> | 2008-02-18 10:34:21 -0600 |
commit | f9f32c432f266c77932fa8168c76d7780064c186 (patch) | |
tree | 6586b87d8b5916c27e0789c497925b13ecaf2121 /autotest | |
parent | 62d7616a457f33eb660454fcdcefe8dab84522c0 (diff) | |
download | puppet-f9f32c432f266c77932fa8168c76d7780064c186.tar.gz puppet-f9f32c432f266c77932fa8168c76d7780064c186.tar.xz puppet-f9f32c432f266c77932fa8168c76d7780064c186.zip |
reordering spec binaries to prefer the local vendor/gems/rspec/bin/spec option
Diffstat (limited to 'autotest')
-rw-r--r-- | autotest/puppet_rspec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autotest/puppet_rspec.rb b/autotest/puppet_rspec.rb index bfc1a6a43..5ff794e9d 100644 --- a/autotest/puppet_rspec.rb +++ b/autotest/puppet_rspec.rb @@ -51,9 +51,9 @@ class Autotest::PuppetRspec < Autotest::Rspec # * our local vendor/gems/rspec/bin/spec def spec_commands [ + File.join('vendor', 'gems', 'rspec', 'bin', 'spec') , File.join('bin', 'spec'), - File.join(Config::CONFIG['bindir'], 'spec'), - File.join('vendor', 'gems', 'rspec', 'bin', 'spec') + File.join(Config::CONFIG['bindir'], 'spec') ] end |