Class | ExpectedResultSet |
In: |
lib/expected_result_set.rb
|
Parent: | Object |
A class, as the name suggests, to setup and expected result set.
Typical usage
expected = ExpectedResultSet.new expected.columns = ['first_column_name', 'second_column_name'] expected.rows << [ 'first item', 1 ] expected.rows << [ 'second item', 2 ]
columns | [R] | |
rows | [R] |