This repository has been archived by the owner on Sep 1, 2019. It is now read-only.
forked from thoughtbot/dotfiles
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
" vim:ts=4:sw=4:et | ||
setlocal noexpandtab | ||
setlocal ts=4 | ||
setlocal sw=4 | ||
setlocal shiftwidth=4 | ||
setlocal softtabstop=4 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,31 @@ | ||
snippet Desc | ||
snippet desc | ||
abbr Describe (...) | ||
Describe("${1}", func() { | ||
}) | ||
|
||
snippet It | ||
snippet it | ||
abbr It (...) | ||
It("${1}", func() { | ||
}) | ||
|
||
snippet Cont | ||
snippet cont | ||
abbr Context (...) | ||
Context("${1}", func() { | ||
}) | ||
|
||
snippet bef | ||
abbr BeforeEach(...) | ||
BeforeEach(func() { | ||
${1} | ||
}) | ||
|
||
snippet befs | ||
abbr BeforeSuite(...) | ||
BeforeSuite(func() { | ||
${1} | ||
}) | ||
|
||
|
||
snippet exp | ||
abbr Expect(...) | ||
Expect(${1}).To |