draper/lib
Bob Showalter 7e3ace0242 Move view context clear to before_setup (minitest) (#839)
We are using Draper with Minitest and experiencing the "leakage" of mailer view contexts into decorator tests. See #814 and related.

Draper does attempt to prevent the leakage by clearing the view context in a `teardown` hook, but this isn't effective. We are still seeing the problem.

This PR moves the clearing from `teardown` to `before_setup`, which properly resolves the leakage.
2019-01-07 08:27:05 -06:00
..
draper Move view context clear to before_setup (minitest) (#839) 2019-01-07 08:27:05 -06:00
generators Refactor generator for TestUnit, RSpec (#816) 2017-07-20 08:51:30 -05:00
draper.rb Add support for Rails 5 API-only applications (#793) 2017-04-03 08:19:42 -05:00