expected_issue={"url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14","repository_url"=>"https://api.github.com/repos/skywinder/changelog_test","labels_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14/labels{/name}","comments_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14/comments","events_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14/events","html_url"=>"https://github.com/skywinder/changelog_test/issues/14","id"=>95419412,"number"=>14,"title"=>"Issue closed from commit from PR","user"=>{"login"=>"skywinder","id"=>3356474,"avatar_url"=>"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id"=>"","url"=>"https://api.github.com/users/skywinder","html_url"=>"https://github.com/skywinder","followers_url"=>"https://api.github.com/users/skywinder/followers","following_url"=>"https://api.github.com/users/skywinder/following{/other_user}","gists_url"=>"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url"=>"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url"=>"https://api.github.com/users/skywinder/subscriptions","organizations_url"=>"https://api.github.com/users/skywinder/orgs","repos_url"=>"https://api.github.com/users/skywinder/repos","events_url"=>"https://api.github.com/users/skywinder/events{/privacy}","received_events_url"=>"https://api.github.com/users/skywinder/received_events","type"=>"User","site_admin"=>false},"labels"=>[],"state"=>"closed","locked"=>false,"assignee"=>nil,"milestone"=>nil,"comments"=>0,"created_at"=>"2015-07-16T12:06:08Z","updated_at"=>"2015-07-16T12:21:42Z","closed_at"=>"2015-07-16T12:21:42Z","body"=>""}
expected_pr={"url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/21","repository_url"=>"https://api.github.com/repos/skywinder/changelog_test","labels_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/21/labels{/name}","comments_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/21/comments","events_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/21/events","html_url"=>"https://github.com/skywinder/changelog_test/pull/21","id"=>124925759,"number"=>21,"title"=>"Merged br (should appear in change log with #20)","user"=>{"login"=>"skywinder","id"=>3356474,"avatar_url"=>"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id"=>"","url"=>"https://api.github.com/users/skywinder","html_url"=>"https://github.com/skywinder","followers_url"=>"https://api.github.com/users/skywinder/followers","following_url"=>"https://api.github.com/users/skywinder/following{/other_user}","gists_url"=>"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url"=>"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url"=>"https://api.github.com/users/skywinder/subscriptions","organizations_url"=>"https://api.github.com/users/skywinder/orgs","repos_url"=>"https://api.github.com/users/skywinder/repos","events_url"=>"https://api.github.com/users/skywinder/events{/privacy}","received_events_url"=>"https://api.github.com/users/skywinder/received_events","type"=>"User","site_admin"=>false},"labels"=>[],"state"=>"closed","locked"=>false,"assignee"=>nil,"milestone"=>nil,"comments"=>0,"created_at"=>"2016-01-05T09:24:08Z","updated_at"=>"2016-01-05T09:26:53Z","closed_at"=>"2016-01-05T09:24:27Z","pull_request"=>{"url"=>"https://api.github.com/repos/skywinder/changelog_test/pulls/21","html_url"=>"https://github.com/skywinder/changelog_test/pull/21","diff_url"=>"https://github.com/skywinder/changelog_test/pull/21.diff","patch_url"=>"https://github.com/skywinder/changelog_test/pull/21.patch"},"body"=>"to test https://github.com/skywinder/github-changelog-generator/pull/305\r\nshould appear in change log with #20"}
issues=[{"url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14","repository_url"=>"https://api.github.com/repos/skywinder/changelog_test","labels_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14/labels{/name}","comments_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14/comments","events_url"=>"https://api.github.com/repos/skywinder/changelog_test/issues/14/events","html_url"=>"https://github.com/skywinder/changelog_test/issues/14","id"=>95419412,"number"=>14,"title"=>"Issue closed from commit from PR","user"=>{"login"=>"skywinder","id"=>3356474,"avatar_url"=>"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id"=>"","url"=>"https://api.github.com/users/skywinder","html_url"=>"https://github.com/skywinder","followers_url"=>"https://api.github.com/users/skywinder/followers","following_url"=>"https://api.github.com/users/skywinder/following{/other_user}","gists_url"=>"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url"=>"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url"=>"https://api.github.com/users/skywinder/subscriptions","organizations_url"=>"https://api.github.com/users/skywinder/orgs","repos_url"=>"https://api.github.com/users/skywinder/repos","events_url"=>"https://api.github.com/users/skywinder/events{/privacy}","received_events_url"=>"https://api.github.com/users/skywinder/received_events","type"=>"User","site_admin"=>false},"labels"=>[],"state"=>"closed","locked"=>false,"assignee"=>nil,"milestone"=>nil,"comments"=>0,"created_at"=>"2015-07-16T12:06:08Z","updated_at"=>"2015-07-16T12:21:42Z","closed_at"=>"2015-07-16T12:21:42Z","body"=>""}]