revert test_case.rb changes
https://github.com/drapergem/draper/pull/752/files#r69694826
This commit is contained in:
parent
de70008a5e
commit
b2a990472b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue