draper/spec
Yen-Nan Lin cc23669889 Let decorator_class infer anonymous class' decorator from superclass (#820)
* Let decorator_class infer anonymous class' decorator from superclass

* Replace constantize with safe_constantize on decorator's private methods

* Don't raise NameError on decorator private methods.
To prevent rescuing and checking if NameError is from internal decorator
private methods, we change to return nil on these private methods.

* Revise decorator inferred_object_class and collection_decorator_name
based on code review comments
2017-09-14 07:48:01 -07:00
..
draper Let decorator_class infer anonymous class' decorator from superclass (#820) 2017-09-14 07:48:01 -07:00
dummy Feature: ActiveJob Integration and Documentation (#817) 2017-09-11 09:35:14 -07: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