Unit Testing in Ruby - via @codeship | via @codeship
Link: Unit Testing in Ruby - via @codeship | via @codeship: "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."