draper/spec/draper
Simon Coffey b1d66ca15c Add option to specify namespace for decorator lookup
To use different decorators in different contexts (e.g. HTML rendering
vs. API representation), the ability to specify a decorator namespace is
added. For example:

    > Product.new.decorate
    => #<ProductDecorator:0x0000010b6e47e8>
    > Product.new.decorate(:namespace => HTML)
    => #<HTML::ProductDecorator:0x0000010b6e47e9>
2013-02-19 20:00:23 +00:00
..
decoratable Check for `decorated?` before using `source` in #== 2013-01-18 10:05:13 +00:00
view_context Add support for decoupled specs 2013-01-19 21:55:46 +00:00
collection_decorator_spec.rb Add option to specify namespace for decorator lookup 2013-02-19 20:00:23 +00:00
decoratable_spec.rb Add option to specify namespace for decorator lookup 2013-02-19 20:00:23 +00:00
decorated_association_spec.rb Add option to specify namespace for decorator lookup 2013-02-19 20:00:23 +00:00
decorates_assigned_spec.rb Accept a lambda for context 2013-02-17 16:56:49 +00:00
decorator_spec.rb Add option to specify namespace for decorator lookup 2013-02-19 20:00:23 +00:00
factory_spec.rb Add option to specify namespace for decorator lookup 2013-02-19 20:00:23 +00:00
finders_spec.rb Revamp specs 2013-01-17 12:47:25 +00:00
helper_proxy_spec.rb fix capture proxying 2013-02-04 21:56:13 +01:00
lazy_helpers_spec.rb Prevent warning in lazy helpers spec 2013-02-05 11:22:59 +00:00
view_context_spec.rb Store helper proxies instead of raw view contexts 2013-01-24 00:23:39 +00:00
view_helpers_spec.rb Revamp specs 2013-01-17 12:47:25 +00:00