GitHub PullRequestReviewCommentEvent at 2014-04-25 19:12:00
Repository: funkardet
Actor: houndci
Payload: {"comment":{"url":"https://api.github.com/repos/mh222zr/funkardet/pulls/comments/12011632","id":12011632,"diff_hunk":"@@ -0,0 +1,45 @@\n+require 'spec_helper'\n+\n+describe \"Editing groups\" do\n+  let!(:group) { group = Group.create(name: \"Testgroup\", creationDate: \"2012-02-01\") }\n+\n+  def update_group(options={})\n+    options[:name] ||= \"Testgroup\"\n+    group = options[:group]\n+\n+    visit \"/groups\"\n+    within \"#group_#{group.id}\" do\n+      click_link \"Edit\"\n+    end\n+\n+    fill_in \"Name\", with: options[:name]\n+\n+    select \"2012\", from: \"group[creationDate(1i)]\"\n+    select \"February\", from: \"group[creationDate(2i)]\"\n+    select \"22\", from: \"group[creationDate(3i)]\"\n+\n+    click_button \"Update Group\"\n+  end\n+\n+  it \"updates a group successfully with correct information\" do\n+    update_group group: group,\n+                 name: \"New title\"","path":"spec/features/groups/edit_group.rb","position":26,"original_position":26,"commit_id":"9bd528e78302ab294bd86b70d113c22813143461","original_commit_id":"9bd528e78302ab294bd86b70d113c22813143461","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-25T19:12:00Z","updated_at":"2014-04-25T19:12:00Z","html_url":"https://github.com/mh222zr/funkardet/pull/1#discussion_r12011632","pull_request_url":"https://api.github.com/repos/mh222zr/funkardet/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mh222zr/funkardet/pulls/comments/12011632"},"html":{"href":"https://github.com/mh222zr/funkardet/pull/1#discussion_r12011632"},"pull_request":{"href":"https://api.github.com/repos/mh222zr/funkardet/pulls/1"}}}}