Created
May 17, 2016 20:57
-
-
Save sorentwo/c89d8960732626384da992a5b38301ba to your computer and use it in GitHub Desktop.
The same tests with different adapters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for adapter <- [Memory, Redis] do | |
@adapter adapter | |
setup_all do | |
Application.put_env(:flippant, :adapter, @adapter) | |
Application.ensure_started(:flippant) | |
on_exit fn -> | |
Application.stop(:flippant) | |
end | |
:ok | |
end | |
# tests | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment