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 exists 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. |
it( "can verify data exists in a table", function() {
this.visit( "/login" )
.type( "scotty@uss.enterprise", "email" )
.type( "miracle_worker", "password" )
.check( "remember_me" )
.press( "Log In" )
.seeInTable( "remember_me", {
email = "scotty@uss.enterprise"
} );
} );