draper/spec
Bartek Bułat 387878f39c Clean view context when controller changes (#799)
When we reassign controller it is the right thing to do to clear current
view context stored in request store. Consider a case when view context
was built before the request was made (usage of `h` helper in class level
context). View context is built from default controller and has no
information about the request. During first request
`Draper::ViewContext.current.controller` will be different than
`Draper::ViewContext.controller`.
2017-05-08 09:23:13 -05:00
..
draper Clean view context when controller changes (#799) 2017-05-08 09:23:13 -05:00
dummy Fix failing specs re Rails 5.1 (#800) 2017-05-05 10:28:28 -05:00
generators ApplicationDecorator generator (#796) 2017-04-05 13:43:27 -05:00
integration _path helpers are no longer available in mailers 2016-07-04 15:16:35 -05:00
performance remove old compatibility code 2016-07-04 16:07:06 -05:00
support update rspec syntax to the new one 2016-06-09 18:49:42 -03:00
spec_helper.rb Never re-raise NameError and always default to CollectionDecorator (#795) 2017-04-03 22:24:33 -05:00