Class: RSpec::Mocks::ClassVerifyingDouble

Inherits:
Module
  • Object
show all
Defined in:
lib/rspec/mocks/verifying_double.rb

Overview

Effectively the same as an ObjectVerifyingDouble (since a class is a type of object), except with Module in the inheritance chain so that transferring nested constants to work.

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::VerifyingDouble