spec/spec_helper.rb in rufus-scheduler-3.0.9 vs spec/spec_helper.rb in rufus-scheduler-3.1.0
- old
+ new
@@ -105,10 +105,10 @@
else
false
end
end
- failure_message_for_should do |actual|
+ failure_message do |actual|
if actual.respond_to?(:asctime)
"expected #{actual.inspect} to be within 1 second of #{expected}"
else
"expected Time instance, got a #{actual.inspect}"