From 3a161e65e76a83be6d62c424227fe10b5b66b77d Mon Sep 17 00:00:00 2001 From: Marcin Olichwirowicz Date: Fri, 21 Aug 2015 22:33:50 +0200 Subject: Get rid of mocha tests - part 1 --- actionpack/test/dispatch/exception_wrapper_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionpack/test/dispatch/exception_wrapper_test.rb') diff --git a/actionpack/test/dispatch/exception_wrapper_test.rb b/actionpack/test/dispatch/exception_wrapper_test.rb index 3dac582407..f37cce4d45 100644 --- a/actionpack/test/dispatch/exception_wrapper_test.rb +++ b/actionpack/test/dispatch/exception_wrapper_test.rb @@ -17,8 +17,6 @@ module ActionDispatch end setup do - Rails.stubs(:root).returns(Pathname.new('.')) - @cleaner = ActiveSupport::BacktraceCleaner.new @cleaner.add_silencer { |line| line !~ /^lib/ } end -- cgit v1.2.3