legacy: avoid off by one error in spec that suddenly surfaced

This commit is contained in:
Konstantin Haase 2015-10-22 09:25:53 +02:00
parent 3d171394a6
commit 588465766f

View File

@ -39,7 +39,7 @@ describe Travis::Api::V2::Http::Request do
'branch' => 'master',
'message' => 'the commit message',
'compare_url' => 'https://github.com/svenfuchs/minimal/compare/master...develop',
'committed_at' => json_format_time(Time.now.utc - 1.hour),
'committed_at' => json_format_time(commit.committed_at),
'committer_email' => 'svenfuchs@artweb-design.de',
'committer_name' => 'Sven Fuchs',
'author_name' => 'Sven Fuchs',