class RowCountExpectation
Public Class Methods
new(db_name,schema,table,count)
click to toggle source
Calls superclass method
Expectation::new
# File lib/dbexpect/expectations/row_count_expectation.rb, line 19 def initialize(db_name,schema,table,count) @count = count super(db_name,schema,table) end
Public Instance Methods
expect_msg()
click to toggle source
# File lib/dbexpect/expectations/row_count_expectation.rb, line 28 def expect_msg "Expected #{@schema}.#{@table} to contain #{@count} rows, " end
where_clause()
click to toggle source
# File lib/dbexpect/expectations/row_count_expectation.rb, line 24 def where_clause "1=1" end