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
Application.ensure_all_started(:hound) | |
ExUnit.start | |
Mix.Task.run "ecto.create", ~w(-r PatronLeague.Repo --quiet) | |
Mix.Task.run "ecto.migrate", ~w(-r PatronLeague.Repo --quiet) | |
Ecto.Adapters.SQL.begin_test_transaction(PatronLeague.Repo) | |
defmodule ApiHelper do | |
use ExUnit.Case, async: false | |
use PatronLeague.ConnCase |
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
How to load page-specific JS functions and pass values to those functions when JS is loaded below your views. |