method

execute_change

rspec latest stable - Class: Spec::Matchers::Change

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

execute_change()
public

No documentation available.

# File lib/spec/matchers/change.rb, line 30
      def execute_change
        @before = @block.nil? ? @receiver.send(@message) : @block.call
        @target.call
        @after = @block.nil? ? @receiver.send(@message) : @block.call
      end