Pavlov.Syntax.Expect

Expect syntax for writing better specs.

Source

Summary

expect(subject)

Sets an expectation on a value. In this example, eq is a typical matcher:

Functions

expect(subject)

Sets an expectation on a value. In this example, eq is a typical matcher:

Example

expect(actual) |> to_eq(expected)
Source