Flippant v0.3.0 Flippant
Summary
Functions
See Flippant.RuleRegistry.breakdown/0
Purge all of the registered groups, features or both. This is particularly useful in testing when you want to reset to a clean slate after a test
See Flippant.RuleRegistry.enable/2
See Flippant.RuleRegistry.features/0
Callback implementation for c:Application.start/2
Functions
Specs
clear :: :ok
Purge all of the registered groups, features or both. This is particularly useful in testing when you want to reset to a clean slate after a test.
Example
Clear everything:
iex> Flippant.clear()
:ok
Clear only features:
iex> Flippant.clear(:features)
:ok
Clear only groups:
iex> Flippant.clear(:groups)
:ok