From 600215a447a8cc374d5b06cd87bb20ff9aa8190c Mon Sep 17 00:00:00 2001 From: Louis Pilfold Date: Fri, 29 Jul 2016 13:06:07 +0100 Subject: [PATCH] Elixir describe snippet --- snippets/elixir.snippets | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/snippets/elixir.snippets b/snippets/elixir.snippets index 851dc8b..0a3efbd 100644 --- a/snippets/elixir.snippets +++ b/snippets/elixir.snippets @@ -105,13 +105,17 @@ snippet imp snippet ali alias ${0:module_name} snippet test - test "${1:test_name}" do + test "${1:test name}" do ${0} end snippet testa test "${1:test_name}", %{${2:arg: arg}} do ${0} end +snippet des + describe "${1:test group subject}" do + ${0} + end snippet exunit defmodule ${1:`substitute(vim_snippets#Filename(), '\(_\|^\)\(.\)', '\u\2', 'g')`} do use ExUnit.Case, async: true