{"action":"created","comment":{"url":"https://api.github.com/repos/18F/micropurchase/pulls/comments/63724560","id":63724560,"diff_hunk":"@@ -9,6 +9,45 @@\n       expect(auction).to be_a(AuctionViewModel)\n       expect(auction.id).to eq(auction_record.id)\n     end\n+\n+    context 'the list of auctions is sorted' do\n+      it 'renders them descending by datetime' do\n+\n+        Timecop.freeze\n+\n+        date_start = Time.now - 3.days","path":"spec/controllers/auctions_controller_spec.rb","position":10,"original_position":10,"commit_id":"a7f27496ef860f9ee60b086925efdf05fbb79d94","original_commit_id":"a7f27496ef860f9ee60b086925efdf05fbb79d94","user":{"login":"gemfarmer","id":4803473,"avatar_url":"https://avatars.githubusercontent.com/u/4803473?v=3","gravatar_id":"","url":"https://api.github.com/users/gemfarmer","html_url":"https://github.com/gemfarmer","followers_url":"https://api.github.com/users/gemfarmer/followers","following_url":"https://api.github.com/users/gemfarmer/following{/other_user}","gists_url":"https://api.github.com/users/gemfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/gemfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemfarmer/subscriptions","organizations_url":"https://api.github.com/users/gemfarmer/orgs","repos_url":"https://api.github.com/users/gemfarmer/repos","events_url":"https://api.github.com/users/gemfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/gemfarmer/received_events","type":"User","site_admin":false},"body":"hmm it looks like the difference between `Time.current` and `Time.now` is that `current` has a timezone fallback. Not sure how that would help with millisecond differences like I am seeing here (only on travis, not locally):\r\n\r\n```\r\nexpected: 2016-05-20 20:55:16.235439941 +0000\r\n     got: 2016-05-20 20:55:16.235439000 +0000\r\n```","created_at":"2016-05-18T15:22:56Z","updated_at":"2016-05-18T15:22:56Z","html_url":"https://github.com/18F/micropurchase/pull/584#discussion_r63724560","pull_request_url":"https://api.github.com/repos/18F/micropurchase/pulls/584","_links":{"self":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/comments/63724560"},"html":{"href":"https://github.com/18F/micropurchase/pull/584#discussion_r63724560"},"pull_request":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/584"}}},"pull_request":{"url":"https://api.github.com/repos/18F/micropurchase/pulls/584","id":70432265,"html_url":"https://github.com/18F/micropurchase/pull/584","diff_url":"https://github.com/18F/micropurchase/pull/584.diff","patch_url":"https://github.com/18F/micropurchase/pull/584.patch","issue_url":"https://api.github.com/repos/18F/micropurchase/issues/584","number":584,"state":"open","locked":false,"title":"[WIP] New auctions grid","user":{"login":"gemfarmer","id":4803473,"avatar_url":"https://avatars.githubusercontent.com/u/4803473?v=3","gravatar_id":"","url":"https://api.github.com/users/gemfarmer","html_url":"https://github.com/gemfarmer","followers_url":"https://api.github.com/users/gemfarmer/followers","following_url":"https://api.github.com/users/gemfarmer/following{/other_user}","gists_url":"https://api.github.com/users/gemfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/gemfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemfarmer/subscriptions","organizations_url":"https://api.github.com/users/gemfarmer/orgs","repos_url":"https://api.github.com/users/gemfarmer/repos","events_url":"https://api.github.com/users/gemfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/gemfarmer/received_events","type":"User","site_admin":false},"body":"For #538 \r\n\r\nI made the grid 2 wide to emulate the [micropurchase prototype](https://pages.18f.gov/micropurchase/).\r\n\r\n* used flexbox to create same-heighted cards\r\n* did not change style of auction cards\r\n* wrote rspec tests to make sure that they are ordered by `date_endtime`","created_at":"2016-05-17T21:18:45Z","updated_at":"2016-05-18T15:22:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"377217aa9b1512f462a49f162485c8a982fb61d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/micropurchase/pulls/584/commits","review_comments_url":"https://api.github.com/repos/18F/micropurchase/pulls/584/comments","review_comment_url":"https://api.github.com/repos/18F/micropurchase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/micropurchase/issues/584/comments","statuses_url":"https://api.github.com/repos/18F/micropurchase/statuses/a7f27496ef860f9ee60b086925efdf05fbb79d94","head":{"label":"18F:bh-new-auction-grid","ref":"bh-new-auction-grid","sha":"a7f27496ef860f9ee60b086925efdf05fbb79d94","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":43830328,"name":"micropurchase","full_name":"18F/micropurchase","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/micropurchase","description":"18F's micro-purchase threshold experiment management app.","fork":false,"url":"https://api.github.com/repos/18F/micropurchase","forks_url":"https://api.github.com/repos/18F/micropurchase/forks","keys_url":"https://api.github.com/repos/18F/micropurchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/micropurchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/micropurchase/teams","hooks_url":"https://api.github.com/repos/18F/micropurchase/hooks","issue_events_url":"https://api.github.com/repos/18F/micropurchase/issues/events{/number}","events_url":"https://api.github.com/repos/18F/micropurchase/events","assignees_url":"https://api.github.com/repos/18F/micropurchase/assignees{/user}","branches_url":"https://api.github.com/repos/18F/micropurchase/branches{/branch}","tags_url":"https://api.github.com/repos/18F/micropurchase/tags","blobs_url":"https://api.github.com/repos/18F/micropurchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/micropurchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/micropurchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/micropurchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/micropurchase/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/micropurchase/languages","stargazers_url":"https://api.github.com/repos/18F/micropurchase/stargazers","contributors_url":"https://api.github.com/repos/18F/micropurchase/contributors","subscribers_url":"https://api.github.com/repos/18F/micropurchase/subscribers","subscription_url":"https://api.github.com/repos/18F/micropurchase/subscription","commits_url":"https://api.github.com/repos/18F/micropurchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/micropurchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/micropurchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/micropurchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/micropurchase/contents/{+path}","compare_url":"https://api.github.com/repos/18F/micropurchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/micropurchase/merges","archive_url":"https://api.github.com/repos/18F/micropurchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/micropurchase/downloads","issues_url":"https://api.github.com/repos/18F/micropurchase/issues{/number}","pulls_url":"https://api.github.com/repos/18F/micropurchase/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/micropurchase/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/micropurchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/micropurchase/labels{/name}","releases_url":"https://api.github.com/repos/18F/micropurchase/releases{/id}","deployments_url":"https://api.github.com/repos/18F/micropurchase/deployments","created_at":"2015-10-07T16:47:29Z","updated_at":"2016-05-02T13:32:16Z","pushed_at":"2016-05-18T13:41:49Z","git_url":"git://github.com/18F/micropurchase.git","ssh_url":"git@github.com:18F/micropurchase.git","clone_url":"https://github.com/18F/micropurchase.git","svn_url":"https://github.com/18F/micropurchase","homepage":"https://micropurchase.18f.gov","size":4195,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":100,"forks":16,"open_issues":100,"watchers":26,"default_branch":"develop"}},"base":{"label":"18F:develop","ref":"develop","sha":"4d79d629c95151878fea0bf18128922bf86ac767","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":43830328,"name":"micropurchase","full_name":"18F/micropurchase","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/micropurchase","description":"18F's micro-purchase threshold experiment management app.","fork":false,"url":"https://api.github.com/repos/18F/micropurchase","forks_url":"https://api.github.com/repos/18F/micropurchase/forks","keys_url":"https://api.github.com/repos/18F/micropurchase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/micropurchase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/micropurchase/teams","hooks_url":"https://api.github.com/repos/18F/micropurchase/hooks","issue_events_url":"https://api.github.com/repos/18F/micropurchase/issues/events{/number}","events_url":"https://api.github.com/repos/18F/micropurchase/events","assignees_url":"https://api.github.com/repos/18F/micropurchase/assignees{/user}","branches_url":"https://api.github.com/repos/18F/micropurchase/branches{/branch}","tags_url":"https://api.github.com/repos/18F/micropurchase/tags","blobs_url":"https://api.github.com/repos/18F/micropurchase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/micropurchase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/micropurchase/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/micropurchase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/micropurchase/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/micropurchase/languages","stargazers_url":"https://api.github.com/repos/18F/micropurchase/stargazers","contributors_url":"https://api.github.com/repos/18F/micropurchase/contributors","subscribers_url":"https://api.github.com/repos/18F/micropurchase/subscribers","subscription_url":"https://api.github.com/repos/18F/micropurchase/subscription","commits_url":"https://api.github.com/repos/18F/micropurchase/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/micropurchase/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/micropurchase/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/micropurchase/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/micropurchase/contents/{+path}","compare_url":"https://api.github.com/repos/18F/micropurchase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/micropurchase/merges","archive_url":"https://api.github.com/repos/18F/micropurchase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/micropurchase/downloads","issues_url":"https://api.github.com/repos/18F/micropurchase/issues{/number}","pulls_url":"https://api.github.com/repos/18F/micropurchase/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/micropurchase/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/micropurchase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/micropurchase/labels{/name}","releases_url":"https://api.github.com/repos/18F/micropurchase/releases{/id}","deployments_url":"https://api.github.com/repos/18F/micropurchase/deployments","created_at":"2015-10-07T16:47:29Z","updated_at":"2016-05-02T13:32:16Z","pushed_at":"2016-05-18T13:41:49Z","git_url":"git://github.com/18F/micropurchase.git","ssh_url":"git@github.com:18F/micropurchase.git","clone_url":"https://github.com/18F/micropurchase.git","svn_url":"https://github.com/18F/micropurchase","homepage":"https://micropurchase.18f.gov","size":4195,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":100,"forks":16,"open_issues":100,"watchers":26,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/584"},"html":{"href":"https://github.com/18F/micropurchase/pull/584"},"issue":{"href":"https://api.github.com/repos/18F/micropurchase/issues/584"},"comments":{"href":"https://api.github.com/repos/18F/micropurchase/issues/584/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/584/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/micropurchase/pulls/584/commits"},"statuses":{"href":"https://api.github.com/repos/18F/micropurchase/statuses/a7f27496ef860f9ee60b086925efdf05fbb79d94"}}}}