antikythera v0.2.0 Antikythera.Test.ConnHelper View Source

Helper functions to construct Antikythera.Conn object, to be used within tests.

Typical controller tests are executed as follows:

  1. Make a Antikythera.Conn object.
  2. Pass the object to the target controller action.
  3. Inspect the returned Antikythera.Conn object.

You can use make_conn/1 for the step-1 of the above procedure. In controller tests this module is auto-imported by use Antikythera.Test.ControllerTestCase.

Link to this section Summary

Link to this section Functions