From f62ed58257a0ae6c723949ffbb0b946785d905ee Mon Sep 17 00:00:00 2001 From: Michal Dabrowski Date: Tue, 29 Apr 2014 09:24:33 +0200 Subject: [PATCH] Updating specs --- spec/Coduo/PHPHumanizer/DateTimeSpec.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/Coduo/PHPHumanizer/DateTimeSpec.php b/spec/Coduo/PHPHumanizer/DateTimeSpec.php index ac11aeb..830144a 100644 --- a/spec/Coduo/PHPHumanizer/DateTimeSpec.php +++ b/spec/Coduo/PHPHumanizer/DateTimeSpec.php @@ -70,12 +70,10 @@ function it_humanizes_precise_difference_between_dates() array("2014-04-26 13:00:00", "2014-04-26 12:58:15", '1 minute, 45 seconds ago'), array("2014-04-26 13:00:00", "2014-04-26 11:20:00", '1 hour, 40 minutes ago'), array("2014-04-26 13:00:00", "2014-04-27 13:15:00", '1 day, 15 minutes from now'), - array("2014-04-26 13:00:00", "2014-05-26 17:00:00", '1 month, 4 hours from now'), + array("2014-04-26 13:00:00", "2014-05-03 15:00:00", '1 week, 2 hours from now'), array("2014-04-26 13:00:00", "2015-04-28 17:00:00", '1 year, 1 week, 4 days, 4 hours from now'), array("2014-04-26 13:00:00", "2014-04-28 23:00:00", '2 days, 10 hours from now'), array("2014-04-26 13:00:00", "2014-04-25 11:20:00", '1 day, 1 hour, 40 minutes ago'), - array("2014-04-26 13:00:00", "2014-03-25 11:20:00", '1 month, 2 days, 40 minutes ago'), - array("2014-04-26 13:00:00", "2014-01-25 11:20:00", '3 months, 1 day, 40 minutes ago'), ); foreach ($examples as $example) {