dontSeeInTable

Verifies that a given struct of keys and values does not exist in a row in a given table.

Arguments

Name Type Required Default Description
table string true The table name to look for the data in.
data struct true A struct of data to verify does not exist in a row in the given table.
datasource string false A datasource to use instead of the default datasource.
query string false A query to use for a query of queries. Mostly useful for testing.

Examples

it( "can verify data does not exist in a table", function() {
    this.visit( "/login" )
        .type( "scotty@uss.enterprise", "email" )
        .type( "miracle_worker", "password" )
        .press( "Log In" )
        .dontSeeInTable( "remember_me", {
            email = "scotty@uss.enterprise"
        } );
} );