summaryrefslogtreecommitdiff
path: root/spec/ohai_spec.rb
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2010-04-25 00:25:58 -0700
committerDaniel DeLeo <dan@opscode.com>2010-04-25 00:25:58 -0700
commite67e950a995e3dc183cd46e9f09ab42fc8cc54d8 (patch)
tree31c738e10dbb434384ee04ee3f800b0d923fdae0 /spec/ohai_spec.rb
parente2c243f0f5b2384901afe8368497159ca87a67aa (diff)
downloadohai-e67e950a995e3dc183cd46e9f09ab42fc8cc54d8.tar.gz
ruby 1.9's require was getting confused w/ rake spec
Diffstat (limited to 'spec/ohai_spec.rb')
-rw-r--r--spec/ohai_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ohai_spec.rb b/spec/ohai_spec.rb
index c8a7099f..24c79545 100644
--- a/spec/ohai_spec.rb
+++ b/spec/ohai_spec.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require File.dirname(__FILE__) + '/spec_helper.rb'
+require File.expand_path(File.dirname(__FILE__) + '/spec_helper.rb')
describe Ohai do