Permalink
Browse files

change require to work on 1.9.2 and 1.8.7

  • Loading branch information...
1 parent 5da0a10 commit c64f2a4bceca834c8d44ee5b4b72a57a5a17f0fe @johnmuhl 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
@@ -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
@@ -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 c64f2a4

Please sign in to comment.