PageRenderTime 5ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

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

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