Class: Riot::RR::Situation

Inherits:
Situation show all
Includes:
RR::Adapters::RRMethods
Defined in:
lib/riot/rr.rb

Overview

Basically, provides a Situation that has been adapted to RR. This means that any of the RR methods that would typically be used: mock, stub, verify, etc. will be available to any setup, yeardown, helper, hookup, or assertion.

Instance Method Summary collapse

Methods inherited from Situation

#evaluate, #helper, #setup, #topic

Constructor Details

#initializeSituation

Returns a new instance of Situation.



14
15
16
17
# File 'lib/riot/rr.rb', line 14

def initialize
  self.reset
  super
end