mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
revert test_case.rb changes
https://github.com/drapergem/draper/pull/752/files#r69694826
This commit is contained in:
parent
de70008a5e
commit
b2a990472b
1 changed files with 4 additions and 4 deletions
|
@ -29,10 +29,10 @@ module Draper
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class ActionController::TestCase
|
if defined? ActionController::TestCase
|
||||||
include Draper::TestCase::ViewContextTeardown
|
ActionController::TestCase.include Draper::TestCase::ViewContextTeardown
|
||||||
end
|
end
|
||||||
|
|
||||||
class ActionMailer::TestCase
|
if defined? ActionMailer::TestCase
|
||||||
include Draper::TestCase::ViewContextTeardown
|
ActionMailer::TestCase.include Draper::TestCase::ViewContextTeardown
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue