PageRenderTime 86ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Shoulda/shoulda.shhi.1

http://github.com/ridgetang/snippets
Unknown | 7 lines | 7 code | 0 blank | 0 comment | 0 complexity | 7a8bac99e0ce97c8390cea49157aab55 MD5 | raw file
  1. #name : should_have_index ...
  2. #key : shhi.1
  3. #group : rails.shoulda
  4. #condition : (or (rails/unit-test?) (rails/functional-test?))
  5. # --
  6. should_have_index :${1:column}
  7. $0