Skip to content

Commit

Permalink
Adding some basic Rspec snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
KensoDev committed Aug 6, 2012
1 parent 8e46031 commit 648e495
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions snippets/rspec.snippets
@@ -0,0 +1,24 @@
#rspec
snippet it
it "${1:spec_name}" do
${2}
end
snippet itp
it "${1:spec_name}"
${2}
snippet desc
describe ${1:class_name} do
${2}
end
snippet cont
context "${1:message}" do
${2}
end
snippet bef
before :${1:each} do
${2}
end
snippet aft
after :${1:each} do
${2}
end

0 comments on commit 648e495

Please sign in to comment.