ESpec v1.4.3 ESpec.Assertions.BeCloseTo View Source

Defines ‘be_close_to’ assertion.

it do: expect(2).to be_close_to(1, 3)

Link to this section Summary

Link to this section Functions

Link to this function assert(subject, data, positive \\ true) View Source