Class: Test4requirements::TestResults
- Inherits:
-
Object
- Object
- Test4requirements::TestResults
- Defined in:
- lib/test4requirements/shoulda.rb
Overview
Dummy class TestResults for use with Shoulda
Instance Attribute Summary collapse
-
#faults ⇒ Object
readonly
Returns the value of attribute faults.
Instance Method Summary collapse
-
#initialize ⇒ TestResults
constructor
A new instance of TestResults.
Constructor Details
#initialize ⇒ TestResults
Returns a new instance of TestResults.
19 20 21 |
# File 'lib/test4requirements/shoulda.rb', line 19 def initialize() @faults = [] end |
Instance Attribute Details
#faults ⇒ Object (readonly)
Returns the value of attribute faults.
22 23 24 |
# File 'lib/test4requirements/shoulda.rb', line 22 def faults @faults end |