Class Spec::Matchers::Change

  1. lib/spec/rails/matchers/change.rb
Parent: Object

Public instance methods

evaluate_value_proc_with_ensured_evaluation_of_proxy ()
[show source]
# File lib/spec/rails/matchers/change.rb, line 4
      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