Skip to content

Commit

Permalink
Add a few snippets for speccing with NuBacon on Nu
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Nov 16, 2010
1 parent ddb0367 commit e48f494
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions snippets/nu.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# spec
snippet spechelper
(load "spec_helper")
${1}
snippet de
(describe "${1:Spec description}" `(
(it "${2:does something}" (do ()
${3}
))
))
snippet it
(it "${1:does something}" (do ()
${2}
))
snippet be
(before (do ()
${1}
))
snippet af
(after (do ()
${1}
))

0 comments on commit e48f494

Please sign in to comment.