Class: Spec::Matchers::Change
- Inherits:
-
Object
- Object
- Spec::Matchers::Change
- Defined in:
- lib/spec/rails/matchers/change.rb
Instance Method Summary collapse
Instance Method Details
#evaluate_value_proc_with_ensured_evaluation_of_proxy ⇒ Object
5 6 7 8 |
# File 'lib/spec/rails/matchers/change.rb', line 5 def evaluate_value_proc_with_ensured_evaluation_of_proxy value = evaluate_value_proc_without_ensured_evaluation_of_proxy ActiveRecord::Associations::AssociationProxy === value ? value.dup : value end |