Bonfire.Me.Fake (Bonfire v1.0.0-social-rc.1.19)

View Source

Summary

Functions

Clears all cached values that can cause issues in tests. Call this in your test setup or teardown.

Functions

clear_caches()

Clears all cached values that can cause issues in tests. Call this in your test setup or teardown.

fake_account!(attrs \\ %{}, opts \\ [])

fake_user!(account \\ %{}, attrs \\ %{}, opts_or_extra \\ [])