Browse files

change require to work on 1.9.2 and 1.8.7

  • Loading branch information...
1 parent 32e64ff commit 9dc38cc857308d308f715cddc4a2b748e0f6589d @johnmuhl committed Aug 24, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/controllers/admin/export_controller_spec.rb
  2. +1 −1 spec/models/radiant/exporter_spec.rb
View
2 spec/controllers/admin/export_controller_spec.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + "/../../spec_helper"
+require File.expand_path("../../../spec_helper", __FILE__)
describe Admin::ExportController do
dataset :users_and_pages
View
2 spec/models/radiant/exporter_spec.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + "/../../spec_helper"
+require File.expand_path("../../../spec_helper", __FILE__)
describe Radiant::Exporter do
dataset :pages_with_layouts, :users_and_pages, :snippets

0 comments on commit 9dc38cc

Please sign in to comment.