{"action":"created","issue":{"url":"https://api.github.com/repos/box/ClusterRunner/issues/219","labels_url":"https://api.github.com/repos/box/ClusterRunner/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/box/ClusterRunner/issues/219/comments","events_url":"https://api.github.com/repos/box/ClusterRunner/issues/219/events","html_url":"https://github.com/box/ClusterRunner/pull/219","id":93413170,"number":219,"title":"Refactor and clean up tests for Build object","user":{"login":"josephharrington","id":1109303,"avatar_url":"https://avatars.githubusercontent.com/u/1109303?v=3","gravatar_id":"","url":"https://api.github.com/users/josephharrington","html_url":"https://github.com/josephharrington","followers_url":"https://api.github.com/users/josephharrington/followers","following_url":"https://api.github.com/users/josephharrington/following{/other_user}","gists_url":"https://api.github.com/users/josephharrington/gists{/gist_id}","starred_url":"https://api.github.com/users/josephharrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephharrington/subscriptions","organizations_url":"https://api.github.com/users/josephharrington/orgs","repos_url":"https://api.github.com/users/josephharrington/repos","events_url":"https://api.github.com/users/josephharrington/events{/privacy}","received_events_url":"https://api.github.com/users/josephharrington/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T01:17:40Z","updated_at":"2015-07-07T01:17:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/box/ClusterRunner/pulls/219","html_url":"https://github.com/box/ClusterRunner/pull/219","diff_url":"https://github.com/box/ClusterRunner/pull/219.diff","patch_url":"https://github.com/box/ClusterRunner/pull/219.patch"},"body":"The Build class is the largest single class and the most complex object\nin the application. Future planned refactorings will help this, but in\nthe meantime it is hard and usually verbose to create realistic build\nobjects for testing.\n\nThis change refactors some of the Build tests to use a build creation\nhelper that creates more realistic build objects. It has a side benefit\nof making these tests more readable and maintainable.\n\nThe tradeoff is that these tests are now more \"integration-y\", but it\nmakes sense to move in this direction considering the complexity of the\nBuild class itself."},"comment":{"url":"https://api.github.com/repos/box/ClusterRunner/issues/comments/119040496","html_url":"https://github.com/box/ClusterRunner/pull/219#issuecomment-119040496","issue_url":"https://api.github.com/repos/box/ClusterRunner/issues/219","id":119040496,"user":{"login":"boxcla","id":6845864,"avatar_url":"https://avatars.githubusercontent.com/u/6845864?v=3","gravatar_id":"","url":"https://api.github.com/users/boxcla","html_url":"https://github.com/boxcla","followers_url":"https://api.github.com/users/boxcla/followers","following_url":"https://api.github.com/users/boxcla/following{/other_user}","gists_url":"https://api.github.com/users/boxcla/gists{/gist_id}","starred_url":"https://api.github.com/users/boxcla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxcla/subscriptions","organizations_url":"https://api.github.com/users/boxcla/orgs","repos_url":"https://api.github.com/users/boxcla/repos","events_url":"https://api.github.com/users/boxcla/events{/privacy}","received_events_url":"https://api.github.com/users/boxcla/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T01:17:41Z","updated_at":"2015-07-07T01:17:41Z","body":"Verified that @josephharrington has signed the CLA. Thanks for the pull request!"}}