PageRenderTime 35ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Ruby on Rails/Shoulda/shoulda.sh

http://github.com/ridgetang/snippets
Shell | 8 lines | 3 code | 0 blank | 5 comment | 0 complexity | 970e73e01c75396abd18aac9d93bbec7 MD5 | raw file
  1. #name : should "..." do ... end
  2. #key : sh
  3. #group : rails.shoulda
  4. #condition : (or (rails/unit-test?) (rails/functional-test?))
  5. # --
  6. should "${description}" do
  7. $0
  8. end