Unit Testing in Ruby - via @codeship | via @codeship

  • Web site excerpt: cancelled_at).to be_a(Time) end end end SINGLE RESPONSIBILITY If your method doesn't fall into one of the three categories above - meaning that its purpose isn't defined by a result, a method call, or a side effect - perhaps it's doing too much.

  • Link to site: Unit Testing in Ruby - via @codeship | via @codeship