{"action":"created","comment":{"url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/comments/56824508","id":56824508,"diff_hunk":"@@ -136,6 +136,7 @@ describe \"ShipmentCreator\", ->\n         body.should.eql expected\n \n   it \"should build as many shipments as the quantity of pieces times the quantity bought for each line in the salesOrder\", ->\n+    #Este test les va a romper en local. Pero no lo cambien el orden porque en semaphore anda bien","path":"server/domain/shipmentCreator.spec.coffee","position":4,"original_position":4,"commit_id":"65ec0c24b637e7a307559f60dc4b49488818efd3","original_commit_id":"a4484c514ee48ce5719a40e752b37bb8d98725b5","user":{"login":"rodri042","id":1631752,"avatar_url":"https://avatars.githubusercontent.com/u/1631752?v=3","gravatar_id":"","url":"https://api.github.com/users/rodri042","html_url":"https://github.com/rodri042","followers_url":"https://api.github.com/users/rodri042/followers","following_url":"https://api.github.com/users/rodri042/following{/other_user}","gists_url":"https://api.github.com/users/rodri042/gists{/gist_id}","starred_url":"https://api.github.com/users/rodri042/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodri042/subscriptions","organizations_url":"https://api.github.com/users/rodri042/orgs","repos_url":"https://api.github.com/users/rodri042/repos","events_url":"https://api.github.com/users/rodri042/events{/privacy}","received_events_url":"https://api.github.com/users/rodri042/received_events","type":"User","site_admin":false},"body":"Mongoose no garantiza orden en las queries. Por eso puede pasar que el driver de mongo en Linux (semaphore) devuelve en cierto orden y el de windows (local) en otro. Lo mejor es ordenar el array antes de hacer la aserción, por ej.: https://github.com/Parsimotion/dropshipping/blob/development/server/api/assignedproducts/assignedproducts.controller.spec.coffee#L22","created_at":"2016-03-21T13:53:25Z","updated_at":"2016-03-21T13:53:25Z","html_url":"https://github.com/Parsimotion/syncer-andreani/pull/17#discussion_r56824508","pull_request_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/comments/56824508"},"html":{"href":"https://github.com/Parsimotion/syncer-andreani/pull/17#discussion_r56824508"},"pull_request":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17","id":62592021,"html_url":"https://github.com/Parsimotion/syncer-andreani/pull/17","diff_url":"https://github.com/Parsimotion/syncer-andreani/pull/17.diff","patch_url":"https://github.com/Parsimotion/syncer-andreani/pull/17.patch","issue_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/17","number":17,"state":"open","locked":false,"title":"Modificar endpoint para impresion de etiquetas","user":{"login":"Gustrucco","id":3957637,"avatar_url":"https://avatars.githubusercontent.com/u/3957637?v=3","gravatar_id":"","url":"https://api.github.com/users/Gustrucco","html_url":"https://github.com/Gustrucco","followers_url":"https://api.github.com/users/Gustrucco/followers","following_url":"https://api.github.com/users/Gustrucco/following{/other_user}","gists_url":"https://api.github.com/users/Gustrucco/gists{/gist_id}","starred_url":"https://api.github.com/users/Gustrucco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gustrucco/subscriptions","organizations_url":"https://api.github.com/users/Gustrucco/orgs","repos_url":"https://api.github.com/users/Gustrucco/repos","events_url":"https://api.github.com/users/Gustrucco/events{/privacy}","received_events_url":"https://api.github.com/users/Gustrucco/received_events","type":"User","site_admin":false},"body":"[Finishes #103947562](https://www.pivotaltracker.com/story/show/103947562)\r\n\r\n- Antes se imprimía de a un shipement. Ahora en vez de mandar el _salesOrderId_ y un _shipmentId_ enviamos muchos _integrationIds_ por querystring.\r\n. Estos integrationIds se corresponden con los **trackingNumbers** de el modelo de _Andreani-Syncer_. El problema es que los tracking number pueden tener (o no) un * al principio. Por eso la regex a la hora de hacer la busqueda en mongo","created_at":"2016-03-11T19:40:03Z","updated_at":"2016-03-21T13:53:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4455ac393f2247f7f3391d0288021abe1ca3e12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/17/comments","statuses_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/statuses/65ec0c24b637e7a307559f60dc4b49488818efd3","head":{"label":"Parsimotion:modificar-endpoint-para-impresion-de-etiquetas","ref":"modificar-endpoint-para-impresion-de-etiquetas","sha":"65ec0c24b637e7a307559f60dc4b49488818efd3","user":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"repo":{"id":41693841,"name":"syncer-andreani","full_name":"Parsimotion/syncer-andreani","owner":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Parsimotion/syncer-andreani","description":"Syncer for Andreani","fork":false,"url":"https://api.github.com/repos/Parsimotion/syncer-andreani","forks_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/forks","keys_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/teams","hooks_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/hooks","issue_events_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/events{/number}","events_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/events","assignees_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/assignees{/user}","branches_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/branches{/branch}","tags_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/tags","blobs_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/refs{/sha}","trees_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/statuses/{sha}","languages_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/languages","stargazers_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/stargazers","contributors_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/contributors","subscribers_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/subscribers","subscription_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/subscription","commits_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/commits{/sha}","git_commits_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/commits{/sha}","comments_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/comments{/number}","issue_comment_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/comments{/number}","contents_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/contents/{+path}","compare_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/merges","archive_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/downloads","issues_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues{/number}","pulls_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls{/number}","milestones_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/milestones{/number}","notifications_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/labels{/name}","releases_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/releases{/id}","deployments_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/deployments","created_at":"2015-08-31T18:45:46Z","updated_at":"2016-01-29T16:07:40Z","pushed_at":"2016-03-17T20:45:10Z","git_url":"git://github.com/Parsimotion/syncer-andreani.git","ssh_url":"git@github.com:Parsimotion/syncer-andreani.git","clone_url":"https://github.com/Parsimotion/syncer-andreani.git","svn_url":"https://github.com/Parsimotion/syncer-andreani","homepage":null,"size":202,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"base":{"label":"Parsimotion:development","ref":"development","sha":"5a685f16d935a2d11a33b4d440c8f663fd748b87","user":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"repo":{"id":41693841,"name":"syncer-andreani","full_name":"Parsimotion/syncer-andreani","owner":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Parsimotion/syncer-andreani","description":"Syncer for Andreani","fork":false,"url":"https://api.github.com/repos/Parsimotion/syncer-andreani","forks_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/forks","keys_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/teams","hooks_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/hooks","issue_events_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/events{/number}","events_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/events","assignees_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/assignees{/user}","branches_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/branches{/branch}","tags_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/tags","blobs_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/refs{/sha}","trees_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/statuses/{sha}","languages_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/languages","stargazers_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/stargazers","contributors_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/contributors","subscribers_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/subscribers","subscription_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/subscription","commits_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/commits{/sha}","git_commits_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/git/commits{/sha}","comments_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/comments{/number}","issue_comment_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/comments{/number}","contents_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/contents/{+path}","compare_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/merges","archive_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/downloads","issues_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues{/number}","pulls_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls{/number}","milestones_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/milestones{/number}","notifications_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/labels{/name}","releases_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/releases{/id}","deployments_url":"https://api.github.com/repos/Parsimotion/syncer-andreani/deployments","created_at":"2015-08-31T18:45:46Z","updated_at":"2016-01-29T16:07:40Z","pushed_at":"2016-03-17T20:45:10Z","git_url":"git://github.com/Parsimotion/syncer-andreani.git","ssh_url":"git@github.com:Parsimotion/syncer-andreani.git","clone_url":"https://github.com/Parsimotion/syncer-andreani.git","svn_url":"https://github.com/Parsimotion/syncer-andreani","homepage":null,"size":202,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17"},"html":{"href":"https://github.com/Parsimotion/syncer-andreani/pull/17"},"issue":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/17"},"comments":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Parsimotion/syncer-andreani/statuses/65ec0c24b637e7a307559f60dc4b49488818efd3"}}}}