{"action":"closed","issue":{"url":"https://api.github.com/repos/MattRooney/GnarPow/issues/12","labels_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/12/comments","events_url":"https://api.github.com/repos/MattRooney/GnarPow/issues/12/events","html_url":"https://github.com/MattRooney/GnarPow/issues/12","id":116203969,"number":12,"title":"Viewing a past order","user":{"login":"rwarbelow","id":3311609,"avatar_url":"https://avatars.githubusercontent.com/u/3311609?v=3","gravatar_id":"","url":"https://api.github.com/users/rwarbelow","html_url":"https://github.com/rwarbelow","followers_url":"https://api.github.com/users/rwarbelow/followers","following_url":"https://api.github.com/users/rwarbelow/following{/other_user}","gists_url":"https://api.github.com/users/rwarbelow/gists{/gist_id}","starred_url":"https://api.github.com/users/rwarbelow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwarbelow/subscriptions","organizations_url":"https://api.github.com/users/rwarbelow/orgs","repos_url":"https://api.github.com/users/rwarbelow/repos","events_url":"https://api.github.com/users/rwarbelow/events{/privacy}","received_events_url":"https://api.github.com/users/rwarbelow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"edgarduran","id":11325650,"avatar_url":"https://avatars.githubusercontent.com/u/11325650?v=3","gravatar_id":"","url":"https://api.github.com/users/edgarduran","html_url":"https://github.com/edgarduran","followers_url":"https://api.github.com/users/edgarduran/followers","following_url":"https://api.github.com/users/edgarduran/following{/other_user}","gists_url":"https://api.github.com/users/edgarduran/gists{/gist_id}","starred_url":"https://api.github.com/users/edgarduran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgarduran/subscriptions","organizations_url":"https://api.github.com/users/edgarduran/orgs","repos_url":"https://api.github.com/users/edgarduran/repos","events_url":"https://api.github.com/users/edgarduran/events{/privacy}","received_events_url":"https://api.github.com/users/edgarduran/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-10T21:17:30Z","updated_at":"2015-11-13T02:41:22Z","closed_at":"2015-11-13T02:41:22Z","body":"Background: An existing user that has one previous order\n      As an authenticated user\n      When I visit \"/orders\"\n      Then I should see my past order\n      And I should see a link to view that order\n      And when I click that link\n      Then I should see each item that was order with the quantity and line-item subtotals\n      And I should see links to each item's show page\n      And I should see the current status of the order (ordered, paid, cancelled, completed)\n      And I should see the total price for the order\n      And I should see the date/time that the order was submitted\n      If the order was completed or cancelled\n      Then I should see a timestamp when the action took place\n      And if any of the items in the order were retired from the menu\n      Then they should still be able to access the item page\n      But they should not be able to add the item to their cart"}}