Created
November 4, 2018 23:36
-
-
Save gen1321/03c0e0bc88e95fdfd9e075e8a1bb140f to your computer and use it in GitHub Desktop.
This file contains 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
defmodule MyAppWeb.SubscriptionCase do | |
use ExUnit.CaseTemplate | |
using do | |
quote do | |
@endpoint MyAppWeb.Endpoint | |
use Anise | |
use Anise.SubscriptionCase, | |
schema: MyAppWeb.Schema, | |
socket: MyAppWeb.UserSocket | |
end | |
end | |
setup do | |
:ok | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment