diff options
| author | Rick Bradley <rick@rickbradley.com> | 2007-09-17 16:49:53 -0500 |
|---|---|---|
| committer | Rick Bradley <rick@rickbradley.com> | 2007-09-17 16:49:53 -0500 |
| commit | 19e049322879f5195b6fb653ae0c63e776e94835 (patch) | |
| tree | 53a1d10d49c9018183cde7af680e1bfd8ff9d78b /spec/spec_helper.rb | |
| parent | 3632926089cb27b93ff075c05ba21e2340a562ac (diff) | |
| download | puppet-19e049322879f5195b6fb653ae0c63e776e94835.tar.gz puppet-19e049322879f5195b6fb653ae0c63e776e94835.tar.xz puppet-19e049322879f5195b6fb653ae0c63e776e94835.zip | |
Updates to indirection stuffs. Making a better spec and migrating to it.
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 477842495..3017f272a 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,6 @@ -dir = File.dirname(__FILE__) -$:.unshift("#{dir}/lib").unshift("#{dir}/../lib") +dir = File.expand_path(File.dirname(__FILE__)) +$:.unshift("#{dir}/lib") +$:.unshift("#{dir}/../lib") # Add the old test dir, so that we can still find mocha and spec $:.unshift("#{dir}/../test/lib") |
