{"action":"created","issue":{"url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/27","labels_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/27/comments","events_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/27/events","html_url":"https://github.com/MushroomObserver/mushroom-observer/pull/27","id":54811781,"number":27,"title":"Javascript updates","user":{"login":"raysuelzer","id":1176341,"avatar_url":"https://avatars.githubusercontent.com/u/1176341?v=3","gravatar_id":"","url":"https://api.github.com/users/raysuelzer","html_url":"https://github.com/raysuelzer","followers_url":"https://api.github.com/users/raysuelzer/followers","following_url":"https://api.github.com/users/raysuelzer/following{/other_user}","gists_url":"https://api.github.com/users/raysuelzer/gists{/gist_id}","starred_url":"https://api.github.com/users/raysuelzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raysuelzer/subscriptions","organizations_url":"https://api.github.com/users/raysuelzer/orgs","repos_url":"https://api.github.com/users/raysuelzer/repos","events_url":"https://api.github.com/users/raysuelzer/events{/privacy}","received_events_url":"https://api.github.com/users/raysuelzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-19T21:01:13Z","updated_at":"2015-01-24T21:22:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/pulls/27","html_url":"https://github.com/MushroomObserver/mushroom-observer/pull/27","diff_url":"https://github.com/MushroomObserver/mushroom-observer/pull/27.diff","patch_url":"https://github.com/MushroomObserver/mushroom-observer/pull/27.patch"},"body":"This should pull in the javascript_updates branch into the master. \r\n\r\nIt includes updates to the javascript as well as the select multiple image functionality.  Tests pass on my vagrant machine."},"comment":{"url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/comments/71337933","html_url":"https://github.com/MushroomObserver/mushroom-observer/pull/27#issuecomment-71337933","issue_url":"https://api.github.com/repos/MushroomObserver/mushroom-observer/issues/27","id":71337933,"user":{"login":"raysuelzer","id":1176341,"avatar_url":"https://avatars.githubusercontent.com/u/1176341?v=3","gravatar_id":"","url":"https://api.github.com/users/raysuelzer","html_url":"https://github.com/raysuelzer","followers_url":"https://api.github.com/users/raysuelzer/followers","following_url":"https://api.github.com/users/raysuelzer/following{/other_user}","gists_url":"https://api.github.com/users/raysuelzer/gists{/gist_id}","starred_url":"https://api.github.com/users/raysuelzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raysuelzer/subscriptions","organizations_url":"https://api.github.com/users/raysuelzer/orgs","repos_url":"https://api.github.com/users/raysuelzer/repos","events_url":"https://api.github.com/users/raysuelzer/events{/privacy}","received_events_url":"https://api.github.com/users/raysuelzer/received_events","type":"User","site_admin":false},"created_at":"2015-01-24T21:22:00Z","updated_at":"2015-01-24T21:22:00Z","body":"The expectation is wrong. Oddly though it passes on rails 3.\n\nRay Suelzer\nMobile: (312) 869-2665\n\nOn Sat, Jan 24, 2015 at 2:33 PM, Joseph D. Cohen <notifications@github.com>\nwrote:\n\n> Ray:\n> Thanks again for all your work on this. There's a quite a bit here.\n> I pulled this into my ror4-joe, resolved conflicts, made some minor style\n> changes, and pushed it up to my repo. I messed up one thing, because I get\n> an unexpected test Error. If you can point me the right way, I can probably\n> fix it.\n> The problem is:\n> AjaxControllerTest#test_upload_image expects @json_response to be\n> *{\"image\" =>* {\"id\"=>14, \"created_at\"=>\"2015-01-24T13:12:20.295-05:00\",\n> \"updated_at\"=>\"2015-01-24T13:12:20.748-05:00\",\n> \"content_type\"=>\"image/jpeg\", \"user_id\"=>4, \"when\"=>\"2014-11-27\",\n> \"notes\"=>\"Some notes.\", \"copyright_holder\"=>\"Douglas Smith\",\n> \"license_id\"=>0, \"num_views\"=>0, \"last_view\"=>nil, \"sync_id\"=>\"14XX\",\n> \"width\"=>2288, \"height\"=>2168, \"vote_cache\"=>nil, \"ok_for_export\"=>true,\n> \"original_name\"=>\"\", \"transferred\"=>false}** }**\n> but the actual response is\n> {\"id\"=>14, \"created_at\"=>\"2015-01-24T13:12:20.295-05:00\",\n> \"updated_at\"=>\"2015-01-24T13:12:20.748-05:00\",\n> \"content_type\"=>\"image/jpeg\", \"user_id\"=>4, \"when\"=>\"2014-11-27\",\n> \"notes\"=>\"Some notes.\", \"copyright_holder\"=>\"Douglas Smith\",\n> \"license_id\"=>0, \"num_views\"=>0, \"last_view\"=>nil, \"sync_id\"=>\"14XX\",\n> \"width\"=>2288, \"height\"=>2168, \"vote_cache\"=>nil, \"ok_for_export\"=>true,\n> \"original_name\"=>\"\", \"transferred\"=>false}\n> So, which is wrong: (a) the expectation or (b) the response?\n>\n> --\n> Reply to this email directly or view it on GitHub\n> <https://github.com/MushroomObserver/mushroom-observer/pull/27#issuecomment-71333576>\n> .\n>"}}