Abstract Class Misago\Unit\Assertions\ModelAssertions

Inheritence

Extends:
Test

Methods

Public instance methods

assert_invalid($record, $message='')

Ensures ActiveRecord is invalid.

assert_valid($record, $message='')

Ensures ActiveRecord is valid, otherwise displays list of errors.