File tree 1 file changed +52
-0
lines changed
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,55 @@ options head
39
39
snippet comment
40
40
options head
41
41
[[${0: TARGET } ]]
42
+
43
+ # For busted snippets
44
+ # http://olivinelabs.com/busted/
45
+ snippet describe
46
+ options head
47
+ abbr describe(message, func)
48
+ describe(${1: #:message } , function()
49
+ ${0: TARGET }
50
+ end)
51
+
52
+ snippet it
53
+ options head
54
+ abbr it(message, func)
55
+ it(${1: #:message } , function()
56
+ ${0: TARGET }
57
+ end)
58
+
59
+ snippet before_each
60
+ options head
61
+ abbr before_each(func)
62
+ before_each(function()
63
+ ${0: TARGET }
64
+ end)
65
+
66
+ snippet after_each
67
+ options head
68
+ abbr after_each(func)
69
+ after_each(function()
70
+ ${0: TARGET }
71
+ end)
72
+
73
+ snippet setup
74
+ options head
75
+ abbr setup(func)
76
+ setup(function()
77
+ ${0: TARGET }
78
+ end)
79
+
80
+ snippet tear_down
81
+ options head
82
+ abbr tear_down(func)
83
+ tear_down(function()
84
+ ${0: TARGET }
85
+ end)
86
+
87
+ snippet finally
88
+ options head
89
+ abbr finally(func)
90
+ finally(function()
91
+ ${0: TARGET }
92
+ end)
93
+
You can’t perform that action at this time.
0 commit comments