spec/guards/superuser_spec.rb in mspec-1.5.17 vs spec/guards/superuser_spec.rb in mspec-1.5.18
- old
+ new
@@ -1,6 +1,6 @@
-require File.dirname(__FILE__) + '/../spec_helper'
-require 'mspec/guards/superuser'
+require 'spec_helper'
+require 'mspec/guards'
describe Object, "#as_superuser" do
before :each do
@guard = SuperUserGuard.new
SuperUserGuard.stub!(:new).and_return(@guard)