{"action":"created","comment":{"url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/comments/34414385","id":34414385,"diff_hunk":"@@ -14,5 +14,13 @@\n   it 'should response with specific serializer' do\n     get '/with-specific-serializer/'\n     match_response_schema(:test_with_specific_serializer)\n+\n+    json = JSON.parse last_response.body\n+    expect(json['bar']).to eq('This is a custom serializer - Test')\n+  end\n+\n+  it 'should response with each serializer' do","path":"spec/json_spec.rb","position":9,"original_position":9,"commit_id":"3364047910a352e40a204a968b1a75bb27122de5","original_commit_id":"3364047910a352e40a204a968b1a75bb27122de5","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-07-11T16:57:11Z","updated_at":"2015-07-11T16:57:11Z","html_url":"https://github.com/SauloSilva/sinatra-active-model-serializers/pull/15#discussion_r34414385","pull_request_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/comments/34414385"},"html":{"href":"https://github.com/SauloSilva/sinatra-active-model-serializers/pull/15#discussion_r34414385"},"pull_request":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15","id":39747903,"html_url":"https://github.com/SauloSilva/sinatra-active-model-serializers/pull/15","diff_url":"https://github.com/SauloSilva/sinatra-active-model-serializers/pull/15.diff","patch_url":"https://github.com/SauloSilva/sinatra-active-model-serializers/pull/15.patch","issue_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/15","number":15,"state":"open","locked":false,"title":"Adding each serializer","user":{"login":"SauloSilva","id":1027336,"avatar_url":"https://avatars.githubusercontent.com/u/1027336?v=3","gravatar_id":"","url":"https://api.github.com/users/SauloSilva","html_url":"https://github.com/SauloSilva","followers_url":"https://api.github.com/users/SauloSilva/followers","following_url":"https://api.github.com/users/SauloSilva/following{/other_user}","gists_url":"https://api.github.com/users/SauloSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/SauloSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SauloSilva/subscriptions","organizations_url":"https://api.github.com/users/SauloSilva/orgs","repos_url":"https://api.github.com/users/SauloSilva/repos","events_url":"https://api.github.com/users/SauloSilva/events{/privacy}","received_events_url":"https://api.github.com/users/SauloSilva/received_events","type":"User","site_admin":false},"body":"ref #5 \r\n\r\n/cc @adrianotadao ","created_at":"2015-07-11T16:00:00Z","updated_at":"2015-07-11T16:57:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2acd9e13b83e5c4ae0bad4a7b347bc14ee566aed","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15/commits","review_comments_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15/comments","review_comment_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/15/comments","statuses_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/statuses/3364047910a352e40a204a968b1a75bb27122de5","head":{"label":"SauloSilva:adding_each_serializer","ref":"adding_each_serializer","sha":"3364047910a352e40a204a968b1a75bb27122de5","user":{"login":"SauloSilva","id":1027336,"avatar_url":"https://avatars.githubusercontent.com/u/1027336?v=3","gravatar_id":"","url":"https://api.github.com/users/SauloSilva","html_url":"https://github.com/SauloSilva","followers_url":"https://api.github.com/users/SauloSilva/followers","following_url":"https://api.github.com/users/SauloSilva/following{/other_user}","gists_url":"https://api.github.com/users/SauloSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/SauloSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SauloSilva/subscriptions","organizations_url":"https://api.github.com/users/SauloSilva/orgs","repos_url":"https://api.github.com/users/SauloSilva/repos","events_url":"https://api.github.com/users/SauloSilva/events{/privacy}","received_events_url":"https://api.github.com/users/SauloSilva/received_events","type":"User","site_admin":false},"repo":{"id":30211018,"name":"sinatra-active-model-serializers","full_name":"SauloSilva/sinatra-active-model-serializers","owner":{"login":"SauloSilva","id":1027336,"avatar_url":"https://avatars.githubusercontent.com/u/1027336?v=3","gravatar_id":"","url":"https://api.github.com/users/SauloSilva","html_url":"https://github.com/SauloSilva","followers_url":"https://api.github.com/users/SauloSilva/followers","following_url":"https://api.github.com/users/SauloSilva/following{/other_user}","gists_url":"https://api.github.com/users/SauloSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/SauloSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SauloSilva/subscriptions","organizations_url":"https://api.github.com/users/SauloSilva/orgs","repos_url":"https://api.github.com/users/SauloSilva/repos","events_url":"https://api.github.com/users/SauloSilva/events{/privacy}","received_events_url":"https://api.github.com/users/SauloSilva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SauloSilva/sinatra-active-model-serializers","description":"Adapter on ActiveModelSerializer for the Sinatra","fork":false,"url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers","forks_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/forks","keys_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/teams","hooks_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/hooks","issue_events_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/events{/number}","events_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/events","assignees_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/assignees{/user}","branches_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/branches{/branch}","tags_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/tags","blobs_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/refs{/sha}","trees_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/statuses/{sha}","languages_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/languages","stargazers_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/stargazers","contributors_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/contributors","subscribers_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/subscribers","subscription_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/subscription","commits_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/commits{/sha}","git_commits_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/commits{/sha}","comments_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/comments{/number}","issue_comment_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/comments{/number}","contents_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/contents/{+path}","compare_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/merges","archive_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/downloads","issues_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues{/number}","pulls_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls{/number}","milestones_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/milestones{/number}","notifications_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/labels{/name}","releases_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/releases{/id}","created_at":"2015-02-02T22:00:44Z","updated_at":"2015-06-19T01:28:55Z","pushed_at":"2015-07-11T16:57:08Z","git_url":"git://github.com/SauloSilva/sinatra-active-model-serializers.git","ssh_url":"git@github.com:SauloSilva/sinatra-active-model-serializers.git","clone_url":"https://github.com/SauloSilva/sinatra-active-model-serializers.git","svn_url":"https://github.com/SauloSilva/sinatra-active-model-serializers","homepage":"","size":330,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"SauloSilva:minor","ref":"minor","sha":"0e7a0f99b20b8511f2d8f839fe7717dade6f06c6","user":{"login":"SauloSilva","id":1027336,"avatar_url":"https://avatars.githubusercontent.com/u/1027336?v=3","gravatar_id":"","url":"https://api.github.com/users/SauloSilva","html_url":"https://github.com/SauloSilva","followers_url":"https://api.github.com/users/SauloSilva/followers","following_url":"https://api.github.com/users/SauloSilva/following{/other_user}","gists_url":"https://api.github.com/users/SauloSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/SauloSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SauloSilva/subscriptions","organizations_url":"https://api.github.com/users/SauloSilva/orgs","repos_url":"https://api.github.com/users/SauloSilva/repos","events_url":"https://api.github.com/users/SauloSilva/events{/privacy}","received_events_url":"https://api.github.com/users/SauloSilva/received_events","type":"User","site_admin":false},"repo":{"id":30211018,"name":"sinatra-active-model-serializers","full_name":"SauloSilva/sinatra-active-model-serializers","owner":{"login":"SauloSilva","id":1027336,"avatar_url":"https://avatars.githubusercontent.com/u/1027336?v=3","gravatar_id":"","url":"https://api.github.com/users/SauloSilva","html_url":"https://github.com/SauloSilva","followers_url":"https://api.github.com/users/SauloSilva/followers","following_url":"https://api.github.com/users/SauloSilva/following{/other_user}","gists_url":"https://api.github.com/users/SauloSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/SauloSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SauloSilva/subscriptions","organizations_url":"https://api.github.com/users/SauloSilva/orgs","repos_url":"https://api.github.com/users/SauloSilva/repos","events_url":"https://api.github.com/users/SauloSilva/events{/privacy}","received_events_url":"https://api.github.com/users/SauloSilva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SauloSilva/sinatra-active-model-serializers","description":"Adapter on ActiveModelSerializer for the Sinatra","fork":false,"url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers","forks_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/forks","keys_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/teams","hooks_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/hooks","issue_events_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/events{/number}","events_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/events","assignees_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/assignees{/user}","branches_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/branches{/branch}","tags_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/tags","blobs_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/refs{/sha}","trees_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/statuses/{sha}","languages_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/languages","stargazers_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/stargazers","contributors_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/contributors","subscribers_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/subscribers","subscription_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/subscription","commits_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/commits{/sha}","git_commits_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/git/commits{/sha}","comments_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/comments{/number}","issue_comment_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/comments{/number}","contents_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/contents/{+path}","compare_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/merges","archive_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/downloads","issues_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues{/number}","pulls_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls{/number}","milestones_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/milestones{/number}","notifications_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/labels{/name}","releases_url":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/releases{/id}","created_at":"2015-02-02T22:00:44Z","updated_at":"2015-06-19T01:28:55Z","pushed_at":"2015-07-11T16:57:08Z","git_url":"git://github.com/SauloSilva/sinatra-active-model-serializers.git","ssh_url":"git@github.com:SauloSilva/sinatra-active-model-serializers.git","clone_url":"https://github.com/SauloSilva/sinatra-active-model-serializers.git","svn_url":"https://github.com/SauloSilva/sinatra-active-model-serializers","homepage":"","size":330,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15"},"html":{"href":"https://github.com/SauloSilva/sinatra-active-model-serializers/pull/15"},"issue":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/15"},"comments":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/SauloSilva/sinatra-active-model-serializers/statuses/3364047910a352e40a204a968b1a75bb27122de5"}}}}