revert test_case.rb changes

https://github.com/drapergem/draper/pull/752/files#r69694826
This commit is contained in:
Sean Linsley 2016-07-09 10:30:42 -05:00
parent de70008a5e
commit b2a990472b
1 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,10 @@ module Draper
end
end
class ActionController::TestCase
include Draper::TestCase::ViewContextTeardown
if defined? ActionController::TestCase
ActionController::TestCase.include Draper::TestCase::ViewContextTeardown
end
class ActionMailer::TestCase
include Draper::TestCase::ViewContextTeardown
if defined? ActionMailer::TestCase
ActionMailer::TestCase.include Draper::TestCase::ViewContextTeardown
end