Use ActiveSupport delegation over Ruby Forwardable
The delegation style found in the AssociationMatcher is an ActiveSupport style; requiring `forwardable` without extending it does not add delegation support.
This commit is contained in:
parent
b1f9f425ca
commit
d5e1a94aa2
|
@ -1,4 +1,4 @@
|
||||||
require 'forwardable'
|
require 'active_support/core_ext/module/delegation'
|
||||||
|
|
||||||
module Shoulda # :nodoc:
|
module Shoulda # :nodoc:
|
||||||
module Matchers
|
module Matchers
|
||||||
|
|
Loading…
Reference in New Issue