Path: | lib/expected_result_set.rb |
Last Update: | Tue Nov 14 00:58:52 GMT Standard Time 2006 |
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 ]