GitHub PullRequestReviewCommentEvent at 2014-04-15 19:40:59
Repository: nacre
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/allolex/nacre/pulls/comments/11653610","id":11653610,"diff_hunk":"@@ -0,0 +1,54 @@\n+require 'spec_helper'\n+\n+describe Nacre::Product::SalesChannel do\n+\n+  let(:params) do\n+    {\n+      sales_channel_name: \"Brightpearl\",\n+      product_name: \"Product B\",\n+      product_condition: \"new\",\n+      categories: [\n+        { category_code: \"276\" },\n+        { category_code: \"295\" }\n+      ],\n+      description: {\n+        language_code: \"en\",\n+        text: \"<p>Some description</p>\",\n+        format: \"HTML_FRAGMENT\"\n+      },\n+      short_description: {\n+        language_code: \"en\",\n+        text: \"<p>Some short description</p>\",\n+        format: \"HTML_FRAGMENT\"","path":"spec/lib/nacre/product/sales_channel_spec.rb","position":22,"original_position":22,"commit_id":"476169023705fa38f75328cfa6e9f118647166d2","original_commit_id":"476169023705fa38f75328cfa6e9f118647166d2","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?","gravatar_id":"38d9cefd9971a05bf447f07c6cd332cc","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2014-04-15T19:40:59Z","updated_at":"2014-04-15T19:40:59Z","html_url":"https://github.com/allolex/nacre/pull/5#discussion_r11653610","pull_request_url":"https://api.github.com/repos/allolex/nacre/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/allolex/nacre/pulls/comments/11653610"},"html":{"href":"https://github.com/allolex/nacre/pull/5#discussion_r11653610"},"pull_request":{"href":"https://api.github.com/repos/allolex/nacre/pulls/5"}}}}