spec/requests/main_spec.rb in merb-admin-0.8.7 vs spec/requests/main_spec.rb in merb-admin-0.8.8
- old
+ new
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-
-require File.join(File.dirname(__FILE__), '..', 'spec_helper.rb')
+require File.expand_path('../../spec_helper', __FILE__)
describe "MerbAdmin" do
before(:each) do
mount_slice
MerbAdmin::AbstractModel.new("Draft").destroy_all!