{"action":"created","comment":{"url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/comments/29683352","id":29683352,"diff_hunk":"@@ -1,37 +1,47 @@\n-require 'test_helper'\n-\n+require \"test_helper\"\n class AnnouncementTest < ActiveSupport::TestCase\n-  test 'can create an announcement with the proper info' do\n-    assert_difference 'Announcement.count', +1 do\n-      announcement_params = {title: 'NO School', body: 'WOOT WOOT', expiration_date: 2.days.from_now, created_by: 'richard'}\n+  test \"can create an announcement with the proper info\" do\n+    assert_difference \"Announcement.count\", +1 do\n+      announcement_params = { title: \"NO School\", \n+                              body: \"WOOT WOOT\", \n+                              expiration_date: 2.days.from_now, \n+                              created_by: \"richard\" }\n       Announcement.create(announcement_params)\n     end\n   end\n \n-  test 'can not create an announcement without title' do\n-    assert_no_difference 'Announcement.count' do\n-      announcement_params = {body: 'WOOT WOOT', expiration_date: 2.days.from_now, created_by: 'richard'}\n+  test \"can not create an announcement without title\" do\n+    assert_no_difference \"Announcement.count\" do\n+      announcement_params = { body: \"WOOT WOOT\", \n+                              expiration_date: 2.days.from_now, \n+                              created_by: \"richard\" }\n       Announcement.create(announcement_params)\n     end\n   end\n \n-  test 'can not create an announcement without body' do\n-    assert_no_difference 'Announcement.count' do\n-      announcement_params = {title: 'NO School', expiration_date: 2.days.from_now, created_by: 'richard'}\n+  test \"can not create an announcement without body\" do\n+    assert_no_difference \"Announcement.count\" do\n+      announcement_params = { title: \"NO School\", ","path":"test/models/announcement_test.rb","position":35,"original_position":35,"commit_id":"ba8b950971c64eb3d83301aa1d2cec081fe98c54","original_commit_id":"ba8b950971c64eb3d83301aa1d2cec081fe98c54","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","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":"Trailing whitespace detected.","created_at":"2015-05-05T15:59:10Z","updated_at":"2015-05-05T15:59:10Z","html_url":"https://github.com/turingcommunity/lit-lv/pull/33#discussion_r29683352","pull_request_url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/comments/29683352"},"html":{"href":"https://github.com/turingcommunity/lit-lv/pull/33#discussion_r29683352"},"pull_request":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33","id":34738061,"html_url":"https://github.com/turingcommunity/lit-lv/pull/33","diff_url":"https://github.com/turingcommunity/lit-lv/pull/33.diff","patch_url":"https://github.com/turingcommunity/lit-lv/pull/33.patch","issue_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues/33","number":33,"state":"open","locked":false,"title":"add events to calendar and fix authorization problems","user":{"login":"rwarbelow","id":3311609,"avatar_url":"https://avatars.githubusercontent.com/u/3311609?v=3","gravatar_id":"","url":"https://api.github.com/users/rwarbelow","html_url":"https://github.com/rwarbelow","followers_url":"https://api.github.com/users/rwarbelow/followers","following_url":"https://api.github.com/users/rwarbelow/following{/other_user}","gists_url":"https://api.github.com/users/rwarbelow/gists{/gist_id}","starred_url":"https://api.github.com/users/rwarbelow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwarbelow/subscriptions","organizations_url":"https://api.github.com/users/rwarbelow/orgs","repos_url":"https://api.github.com/users/rwarbelow/repos","events_url":"https://api.github.com/users/rwarbelow/events{/privacy}","received_events_url":"https://api.github.com/users/rwarbelow/received_events","type":"User","site_admin":false},"body":"* fix authorization problems (before_action and inheriting from admin base controller)\r\n* add student base controller\r\n* change event attributes to work with simple_calendar\r\n* display events on calendar\r\n* update tests to match current functionality","created_at":"2015-05-05T15:48:26Z","updated_at":"2015-05-05T15:59:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3dc1fcd95e0b1b854b7ce0e8aac3443a4048fd28","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33/commits","review_comments_url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33/comments","review_comment_url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues/33/comments","statuses_url":"https://api.github.com/repos/turingcommunity/lit-lv/statuses/ba8b950971c64eb3d83301aa1d2cec081fe98c54","head":{"label":"turingcommunity:show-events","ref":"show-events","sha":"ba8b950971c64eb3d83301aa1d2cec081fe98c54","user":{"login":"turingcommunity","id":12203515,"avatar_url":"https://avatars.githubusercontent.com/u/12203515?v=3","gravatar_id":"","url":"https://api.github.com/users/turingcommunity","html_url":"https://github.com/turingcommunity","followers_url":"https://api.github.com/users/turingcommunity/followers","following_url":"https://api.github.com/users/turingcommunity/following{/other_user}","gists_url":"https://api.github.com/users/turingcommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/turingcommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingcommunity/subscriptions","organizations_url":"https://api.github.com/users/turingcommunity/orgs","repos_url":"https://api.github.com/users/turingcommunity/repos","events_url":"https://api.github.com/users/turingcommunity/events{/privacy}","received_events_url":"https://api.github.com/users/turingcommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":33729648,"name":"lit-lv","full_name":"turingcommunity/lit-lv","owner":{"login":"turingcommunity","id":12203515,"avatar_url":"https://avatars.githubusercontent.com/u/12203515?v=3","gravatar_id":"","url":"https://api.github.com/users/turingcommunity","html_url":"https://github.com/turingcommunity","followers_url":"https://api.github.com/users/turingcommunity/followers","following_url":"https://api.github.com/users/turingcommunity/following{/other_user}","gists_url":"https://api.github.com/users/turingcommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/turingcommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingcommunity/subscriptions","organizations_url":"https://api.github.com/users/turingcommunity/orgs","repos_url":"https://api.github.com/users/turingcommunity/repos","events_url":"https://api.github.com/users/turingcommunity/events{/privacy}","received_events_url":"https://api.github.com/users/turingcommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingcommunity/lit-lv","description":null,"fork":false,"url":"https://api.github.com/repos/turingcommunity/lit-lv","forks_url":"https://api.github.com/repos/turingcommunity/lit-lv/forks","keys_url":"https://api.github.com/repos/turingcommunity/lit-lv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingcommunity/lit-lv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingcommunity/lit-lv/teams","hooks_url":"https://api.github.com/repos/turingcommunity/lit-lv/hooks","issue_events_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues/events{/number}","events_url":"https://api.github.com/repos/turingcommunity/lit-lv/events","assignees_url":"https://api.github.com/repos/turingcommunity/lit-lv/assignees{/user}","branches_url":"https://api.github.com/repos/turingcommunity/lit-lv/branches{/branch}","tags_url":"https://api.github.com/repos/turingcommunity/lit-lv/tags","blobs_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingcommunity/lit-lv/statuses/{sha}","languages_url":"https://api.github.com/repos/turingcommunity/lit-lv/languages","stargazers_url":"https://api.github.com/repos/turingcommunity/lit-lv/stargazers","contributors_url":"https://api.github.com/repos/turingcommunity/lit-lv/contributors","subscribers_url":"https://api.github.com/repos/turingcommunity/lit-lv/subscribers","subscription_url":"https://api.github.com/repos/turingcommunity/lit-lv/subscription","commits_url":"https://api.github.com/repos/turingcommunity/lit-lv/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingcommunity/lit-lv/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingcommunity/lit-lv/contents/{+path}","compare_url":"https://api.github.com/repos/turingcommunity/lit-lv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingcommunity/lit-lv/merges","archive_url":"https://api.github.com/repos/turingcommunity/lit-lv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingcommunity/lit-lv/downloads","issues_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues{/number}","pulls_url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls{/number}","milestones_url":"https://api.github.com/repos/turingcommunity/lit-lv/milestones{/number}","notifications_url":"https://api.github.com/repos/turingcommunity/lit-lv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingcommunity/lit-lv/labels{/name}","releases_url":"https://api.github.com/repos/turingcommunity/lit-lv/releases{/id}","created_at":"2015-04-10T13:22:46Z","updated_at":"2015-05-01T21:28:56Z","pushed_at":"2015-05-05T15:59:04Z","git_url":"git://github.com/turingcommunity/lit-lv.git","ssh_url":"git@github.com:turingcommunity/lit-lv.git","clone_url":"https://github.com/turingcommunity/lit-lv.git","svn_url":"https://github.com/turingcommunity/lit-lv","homepage":null,"size":551,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":3,"default_branch":"master"}},"base":{"label":"turingcommunity:master","ref":"master","sha":"60008aa1a4fb6cdde1506275143ee1772ecadd30","user":{"login":"turingcommunity","id":12203515,"avatar_url":"https://avatars.githubusercontent.com/u/12203515?v=3","gravatar_id":"","url":"https://api.github.com/users/turingcommunity","html_url":"https://github.com/turingcommunity","followers_url":"https://api.github.com/users/turingcommunity/followers","following_url":"https://api.github.com/users/turingcommunity/following{/other_user}","gists_url":"https://api.github.com/users/turingcommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/turingcommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingcommunity/subscriptions","organizations_url":"https://api.github.com/users/turingcommunity/orgs","repos_url":"https://api.github.com/users/turingcommunity/repos","events_url":"https://api.github.com/users/turingcommunity/events{/privacy}","received_events_url":"https://api.github.com/users/turingcommunity/received_events","type":"Organization","site_admin":false},"repo":{"id":33729648,"name":"lit-lv","full_name":"turingcommunity/lit-lv","owner":{"login":"turingcommunity","id":12203515,"avatar_url":"https://avatars.githubusercontent.com/u/12203515?v=3","gravatar_id":"","url":"https://api.github.com/users/turingcommunity","html_url":"https://github.com/turingcommunity","followers_url":"https://api.github.com/users/turingcommunity/followers","following_url":"https://api.github.com/users/turingcommunity/following{/other_user}","gists_url":"https://api.github.com/users/turingcommunity/gists{/gist_id}","starred_url":"https://api.github.com/users/turingcommunity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingcommunity/subscriptions","organizations_url":"https://api.github.com/users/turingcommunity/orgs","repos_url":"https://api.github.com/users/turingcommunity/repos","events_url":"https://api.github.com/users/turingcommunity/events{/privacy}","received_events_url":"https://api.github.com/users/turingcommunity/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingcommunity/lit-lv","description":null,"fork":false,"url":"https://api.github.com/repos/turingcommunity/lit-lv","forks_url":"https://api.github.com/repos/turingcommunity/lit-lv/forks","keys_url":"https://api.github.com/repos/turingcommunity/lit-lv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingcommunity/lit-lv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingcommunity/lit-lv/teams","hooks_url":"https://api.github.com/repos/turingcommunity/lit-lv/hooks","issue_events_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues/events{/number}","events_url":"https://api.github.com/repos/turingcommunity/lit-lv/events","assignees_url":"https://api.github.com/repos/turingcommunity/lit-lv/assignees{/user}","branches_url":"https://api.github.com/repos/turingcommunity/lit-lv/branches{/branch}","tags_url":"https://api.github.com/repos/turingcommunity/lit-lv/tags","blobs_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingcommunity/lit-lv/statuses/{sha}","languages_url":"https://api.github.com/repos/turingcommunity/lit-lv/languages","stargazers_url":"https://api.github.com/repos/turingcommunity/lit-lv/stargazers","contributors_url":"https://api.github.com/repos/turingcommunity/lit-lv/contributors","subscribers_url":"https://api.github.com/repos/turingcommunity/lit-lv/subscribers","subscription_url":"https://api.github.com/repos/turingcommunity/lit-lv/subscription","commits_url":"https://api.github.com/repos/turingcommunity/lit-lv/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingcommunity/lit-lv/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingcommunity/lit-lv/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingcommunity/lit-lv/contents/{+path}","compare_url":"https://api.github.com/repos/turingcommunity/lit-lv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingcommunity/lit-lv/merges","archive_url":"https://api.github.com/repos/turingcommunity/lit-lv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingcommunity/lit-lv/downloads","issues_url":"https://api.github.com/repos/turingcommunity/lit-lv/issues{/number}","pulls_url":"https://api.github.com/repos/turingcommunity/lit-lv/pulls{/number}","milestones_url":"https://api.github.com/repos/turingcommunity/lit-lv/milestones{/number}","notifications_url":"https://api.github.com/repos/turingcommunity/lit-lv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingcommunity/lit-lv/labels{/name}","releases_url":"https://api.github.com/repos/turingcommunity/lit-lv/releases{/id}","created_at":"2015-04-10T13:22:46Z","updated_at":"2015-05-01T21:28:56Z","pushed_at":"2015-05-05T15:59:04Z","git_url":"git://github.com/turingcommunity/lit-lv.git","ssh_url":"git@github.com:turingcommunity/lit-lv.git","clone_url":"https://github.com/turingcommunity/lit-lv.git","svn_url":"https://github.com/turingcommunity/lit-lv","homepage":null,"size":551,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33"},"html":{"href":"https://github.com/turingcommunity/lit-lv/pull/33"},"issue":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/issues/33"},"comments":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/turingcommunity/lit-lv/statuses/ba8b950971c64eb3d83301aa1d2cec081fe98c54"}}}}