PageRenderTime 103ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Shoulda/shoulda.shhdc.2

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 306be02ea0ffebbeb146dbe8c3dd16a3 MD5 | raw file
  1. #name : should_have_db_columns ..., ...
  2. #key : shhdc.2
  3. #group : rails.shoulda
  4. #condition : (or (rails/unit-test?) (rails/functional-test?))
  5. # --
  6. should_have_db_columns :${1:column1}, :${2:column2}$0