Further spec greening

This commit is contained in:
2015-09-21 16:56:39 +02:00
parent 2c3705790c
commit 61dba311fa
15 changed files with 33 additions and 119 deletions
+1 -2
View File
@@ -38,8 +38,7 @@ module Qwaiter::SupplierBaseSerializer
def timestamp_attribute(attr)
attribute attr do
return unless timestamp = object.public_send(attr)
timestamp.iso8601
object.public_send(attr).try(:iso8601)
end
end