Class: Test4requirements::TestResults

Inherits:
Object
  • Object
show all
Defined in:
lib/test4requirements/shoulda.rb

Overview

Dummy class TestResults for use with Shoulda

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTestResults

Returns a new instance of TestResults.



19
20
21
# File 'lib/test4requirements/shoulda.rb', line 19

def initialize()
  @faults = []
end

Instance Attribute Details

#faultsObject (readonly)

Returns the value of attribute faults.



22
23
24
# File 'lib/test4requirements/shoulda.rb', line 22

def faults
  @faults
end