class RowExpectation
Public Class Methods
new(db_name,schema,table,row_data)
click to toggle source
Calls superclass method
Expectation::new
# File lib/dbexpect/expectations/row_expectation.rb, line 19 def initialize(db_name,schema,table,row_data) @row = row_data @count = 1 super(db_name,schema,table) end
Public Instance Methods
expect_msg()
click to toggle source
# File lib/dbexpect/expectations/row_expectation.rb, line 29 def expect_msg "Expected #{@schema}.#{@table} to contain a row where #{where_clause}, " end
where_clause()
click to toggle source
# File lib/dbexpect/expectations/row_expectation.rb, line 25 def where_clause @row.where_clause end