Current section
Files
Jump to
Current section
Files
lib/mix/tasks/walex.drop.ex
defmodule Mix.Tasks.Walex.Drop do
@moduledoc """
Drops the database
"""
use Mix.Task
alias Mix.Tasks.Walex.Helpers
@test_database "todos_test"
@shortdoc "Tear down test database and tables"
def run(_) do
Mix.Task.run("app.start")
Helpers.drop_database(@test_database)
end
end