GitHub PullRequestReviewCommentEvent at 2014-04-14 15:49:16
Repository: rails-settings-ui
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/accessd/rails-settings-ui/pulls/comments/11591143","id":11591143,"diff_hunk":"@@ -0,0 +1,26 @@\n+require 'spec_helper'\n+\n+describe RailsSettingsUi::ValueTypes::Hash do\n+  describe \"#cast\" do\n+    it \"should cast string to hash\" do\n+      param = \"{\\\"border_color\\\"=>\\\"e0e0e0\\\", \\\"block_color\\\"=>\\\"ffffff\\\", \\\"title\\\"=>{\\\"font\\\"=>\\\"Tahoma\\\", \\\"size\\\"=>\\\"12\\\", \\\"color\\\"=>\\\"107821\\\"}}\"\n+      fixnum_type = RailsSettingsUi::ValueTypes::Hash.new(param)\n+      expect(fixnum_type.cast).to eq({","path":"spec/lib/rails-settings-ui/value_types/hash_spec.rb","position":8,"original_position":8,"commit_id":"27e3e7b7403bbcf342438c9cc120447e253a5aaa","original_commit_id":"27e3e7b7403bbcf342438c9cc120447e253a5aaa","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":"Redundant curly braces around a hash parameter.","created_at":"2014-04-14T15:49:16Z","updated_at":"2014-04-14T15:49:16Z","html_url":"https://github.com/accessd/rails-settings-ui/pull/6#discussion_r11591143","pull_request_url":"https://api.github.com/repos/accessd/rails-settings-ui/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/accessd/rails-settings-ui/pulls/comments/11591143"},"html":{"href":"https://github.com/accessd/rails-settings-ui/pull/6#discussion_r11591143"},"pull_request":{"href":"https://api.github.com/repos/accessd/rails-settings-ui/pulls/6"}}}}