Class RR::Space
In: lib/rr/space.rb
Parent: Object

RR::Space.instance is the global state subject for the RR framework.

Methods

Classes and Modules

Module RR::Space::Reader

Attributes

instance  [W] 
ordered_doubles  [R] 
recorded_calls  [R] 
trim_backtrace  [RW] 

Public Class methods

Protected Class methods

Public Instance methods

Registers the ordered Double to be verified.

Resets the registered Doubles and ordered Doubles

Resets the DoubleInjection for the passed in subject and method_name.

verify(*subjects)

Alias for verify_doubles

Verifies the DoubleInjection for the passed in subject and method_name.

Verifies all the DoubleInjection objects have met their TimesCalledExpectations.

Verifies that the passed in ordered Double is being called in the correct position.

Protected Instance methods

Removes the ordered Doubles from the list

[Validate]