/ruby-mode/Tests/class .. < Test;;Unit;;TestCase .. end (tc).yasnippet
http://github.com/ridgetang/snippets · Unknown · 14 lines · 12 code · 2 blank · 0 comment · 0 complexity · 0d9d989e3723abc237b8a1506d5030f8 MD5 · raw file
- # -*- mode: snippet -*-
- # key: tc
- # contributor: Translated from TextMate Snippet
- # name: class .. < Test::Unit::TestCase .. end
- # --
- require "test/unit"
- require "${1:library_file_name}"
- class Test${2:${1/([\w&&[^_]]+)|./\u$1/g}} < Test::Unit::TestCase
- def test_${3:case_name}
- $0
- end
- end