Class: RSpec::Mocks::Double

Inherits:
Object
  • Object
show all
Includes:
TestDouble
Defined in:
lib/rspec/mocks/test_double.rb

Overview

A generic test double object. double, instance_double and friends return an instance of this.

Method Summary

Methods included from TestDouble

#==, #as_null_object, #freeze, #initialize, #null_object?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RSpec::Mocks::TestDouble