draper/spec
Igor Springer 4439ed8e84
fix: Check only object's private method when preventing delegati… (#875)
https://github.com/drapergem/draper/pull/849 introduced a valid fix to prevent calling object's public method when a decorator overwrites it through a private one. There is one caveat, though. `private_methods` methods has `all` parameter set to `true` by default (https://ruby-doc.org/core-2.7.0/Object.html#method-i-private_methods)`. As a result all private methods are returned, instead of only the ones defined on the object.

This commit fixes the above issue by setting the `all` parameter to `false`.
2020-02-11 10:47:49 -06:00
..
draper fix: Check only object's private method when preventing delegati… (#875) 2020-02-11 10:47:49 -06:00
dummy Add support for Rails 6.0 to `ViewContext::BuildStrategy` (#866) 2020-01-07 10:58:00 -06:00
generators Add SimpleCov for code coverage analysis (#851) 2019-03-18 08:21:35 -05:00
integration Add SimpleCov for code coverage analysis (#851) 2019-03-18 08:21: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 Add SimpleCov for code coverage analysis (#851) 2019-03-18 08:21:35 -05:00