lib/postspec.rb in postspec-0.4.1 vs lib/postspec.rb in postspec-0.5.0

- old
+ new

@@ -182,9 +182,12 @@ def timestamp() @conn.timestamp end # Transactionn timestamp with time zone def timestamptz() @conn.timestamptz end + # Date of timestamp + def datestamp() timestamp.to_date end + # True if no tests failed. Default true def success?() @success end # True if Postspec is in failed state. In failed state no new commands can # be issued. Postspec enters a failed state when it encounters an error and