{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/2","id":53572310,"html_url":"https://github.com/OnApp/cloudnetv2/pull/2","diff_url":"https://github.com/OnApp/cloudnetv2/pull/2.diff","patch_url":"https://github.com/OnApp/cloudnetv2/pull/2.patch","issue_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues/2","number":2,"state":"closed","locked":false,"title":"Integration tests","user":{"login":"tombh","id":160835,"avatar_url":"https://avatars.githubusercontent.com/u/160835?v=3","gravatar_id":"","url":"https://api.github.com/users/tombh","html_url":"https://github.com/tombh","followers_url":"https://api.github.com/users/tombh/followers","following_url":"https://api.github.com/users/tombh/following{/other_user}","gists_url":"https://api.github.com/users/tombh/gists{/gist_id}","starred_url":"https://api.github.com/users/tombh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombh/subscriptions","organizations_url":"https://api.github.com/users/tombh/orgs","repos_url":"https://api.github.com/users/tombh/repos","events_url":"https://api.github.com/users/tombh/events{/privacy}","received_events_url":"https://api.github.com/users/tombh/received_events","type":"User","site_admin":false},"body":"End to end integration tests using Capybara.\r\n\r\nI'm wondering if there is a better way to run specs like this where a series of tests needs to be run in order? I'm thinking it's more useful to use individual `it{}` blocks that are run in order and do not get a DB clean in `before{}`. Of course the DB would cleaned in `before(:suite){}`.","created_at":"2015-12-14T14:39:08Z","updated_at":"2016-01-15T09:19:02Z","closed_at":"2016-01-15T09:19:02Z","merged_at":"2016-01-15T09:19:02Z","merge_commit_sha":"9b47523030657a1861b0e04e608f2db595323ed0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/2/commits","review_comments_url":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/2/comments","review_comment_url":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues/2/comments","statuses_url":"https://api.github.com/repos/OnApp/cloudnetv2/statuses/b353681d3d12e06e2e110de0660319b38ebec00b","head":{"label":"OnApp:integration-tests","ref":"integration-tests","sha":"b353681d3d12e06e2e110de0660319b38ebec00b","user":{"login":"OnApp","id":1064362,"avatar_url":"https://avatars.githubusercontent.com/u/1064362?v=3","gravatar_id":"","url":"https://api.github.com/users/OnApp","html_url":"https://github.com/OnApp","followers_url":"https://api.github.com/users/OnApp/followers","following_url":"https://api.github.com/users/OnApp/following{/other_user}","gists_url":"https://api.github.com/users/OnApp/gists{/gist_id}","starred_url":"https://api.github.com/users/OnApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnApp/subscriptions","organizations_url":"https://api.github.com/users/OnApp/orgs","repos_url":"https://api.github.com/users/OnApp/repos","events_url":"https://api.github.com/users/OnApp/events{/privacy}","received_events_url":"https://api.github.com/users/OnApp/received_events","type":"Organization","site_admin":false},"repo":{"id":31184043,"name":"cloudnetv2","full_name":"OnApp/cloudnetv2","owner":{"login":"OnApp","id":1064362,"avatar_url":"https://avatars.githubusercontent.com/u/1064362?v=3","gravatar_id":"","url":"https://api.github.com/users/OnApp","html_url":"https://github.com/OnApp","followers_url":"https://api.github.com/users/OnApp/followers","following_url":"https://api.github.com/users/OnApp/following{/other_user}","gists_url":"https://api.github.com/users/OnApp/gists{/gist_id}","starred_url":"https://api.github.com/users/OnApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnApp/subscriptions","organizations_url":"https://api.github.com/users/OnApp/orgs","repos_url":"https://api.github.com/users/OnApp/repos","events_url":"https://api.github.com/users/OnApp/events{/privacy}","received_events_url":"https://api.github.com/users/OnApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OnApp/cloudnetv2","description":"Ground-up rebuild of Cloud.net application","fork":false,"url":"https://api.github.com/repos/OnApp/cloudnetv2","forks_url":"https://api.github.com/repos/OnApp/cloudnetv2/forks","keys_url":"https://api.github.com/repos/OnApp/cloudnetv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OnApp/cloudnetv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OnApp/cloudnetv2/teams","hooks_url":"https://api.github.com/repos/OnApp/cloudnetv2/hooks","issue_events_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues/events{/number}","events_url":"https://api.github.com/repos/OnApp/cloudnetv2/events","assignees_url":"https://api.github.com/repos/OnApp/cloudnetv2/assignees{/user}","branches_url":"https://api.github.com/repos/OnApp/cloudnetv2/branches{/branch}","tags_url":"https://api.github.com/repos/OnApp/cloudnetv2/tags","blobs_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OnApp/cloudnetv2/statuses/{sha}","languages_url":"https://api.github.com/repos/OnApp/cloudnetv2/languages","stargazers_url":"https://api.github.com/repos/OnApp/cloudnetv2/stargazers","contributors_url":"https://api.github.com/repos/OnApp/cloudnetv2/contributors","subscribers_url":"https://api.github.com/repos/OnApp/cloudnetv2/subscribers","subscription_url":"https://api.github.com/repos/OnApp/cloudnetv2/subscription","commits_url":"https://api.github.com/repos/OnApp/cloudnetv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/OnApp/cloudnetv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/OnApp/cloudnetv2/contents/{+path}","compare_url":"https://api.github.com/repos/OnApp/cloudnetv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OnApp/cloudnetv2/merges","archive_url":"https://api.github.com/repos/OnApp/cloudnetv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OnApp/cloudnetv2/downloads","issues_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues{/number}","pulls_url":"https://api.github.com/repos/OnApp/cloudnetv2/pulls{/number}","milestones_url":"https://api.github.com/repos/OnApp/cloudnetv2/milestones{/number}","notifications_url":"https://api.github.com/repos/OnApp/cloudnetv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OnApp/cloudnetv2/labels{/name}","releases_url":"https://api.github.com/repos/OnApp/cloudnetv2/releases{/id}","created_at":"2015-02-22T22:33:06Z","updated_at":"2015-11-23T11:10:50Z","pushed_at":"2016-01-15T09:19:02Z","git_url":"git://github.com/OnApp/cloudnetv2.git","ssh_url":"git@github.com:OnApp/cloudnetv2.git","clone_url":"https://github.com/OnApp/cloudnetv2.git","svn_url":"https://github.com/OnApp/cloudnetv2","homepage":null,"size":350,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":4,"default_branch":"master"}},"base":{"label":"OnApp:master","ref":"master","sha":"b3a34b898f4ae123232d2838f3d3cc3b4b613f81","user":{"login":"OnApp","id":1064362,"avatar_url":"https://avatars.githubusercontent.com/u/1064362?v=3","gravatar_id":"","url":"https://api.github.com/users/OnApp","html_url":"https://github.com/OnApp","followers_url":"https://api.github.com/users/OnApp/followers","following_url":"https://api.github.com/users/OnApp/following{/other_user}","gists_url":"https://api.github.com/users/OnApp/gists{/gist_id}","starred_url":"https://api.github.com/users/OnApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnApp/subscriptions","organizations_url":"https://api.github.com/users/OnApp/orgs","repos_url":"https://api.github.com/users/OnApp/repos","events_url":"https://api.github.com/users/OnApp/events{/privacy}","received_events_url":"https://api.github.com/users/OnApp/received_events","type":"Organization","site_admin":false},"repo":{"id":31184043,"name":"cloudnetv2","full_name":"OnApp/cloudnetv2","owner":{"login":"OnApp","id":1064362,"avatar_url":"https://avatars.githubusercontent.com/u/1064362?v=3","gravatar_id":"","url":"https://api.github.com/users/OnApp","html_url":"https://github.com/OnApp","followers_url":"https://api.github.com/users/OnApp/followers","following_url":"https://api.github.com/users/OnApp/following{/other_user}","gists_url":"https://api.github.com/users/OnApp/gists{/gist_id}","starred_url":"https://api.github.com/users/OnApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OnApp/subscriptions","organizations_url":"https://api.github.com/users/OnApp/orgs","repos_url":"https://api.github.com/users/OnApp/repos","events_url":"https://api.github.com/users/OnApp/events{/privacy}","received_events_url":"https://api.github.com/users/OnApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OnApp/cloudnetv2","description":"Ground-up rebuild of Cloud.net application","fork":false,"url":"https://api.github.com/repos/OnApp/cloudnetv2","forks_url":"https://api.github.com/repos/OnApp/cloudnetv2/forks","keys_url":"https://api.github.com/repos/OnApp/cloudnetv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OnApp/cloudnetv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OnApp/cloudnetv2/teams","hooks_url":"https://api.github.com/repos/OnApp/cloudnetv2/hooks","issue_events_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues/events{/number}","events_url":"https://api.github.com/repos/OnApp/cloudnetv2/events","assignees_url":"https://api.github.com/repos/OnApp/cloudnetv2/assignees{/user}","branches_url":"https://api.github.com/repos/OnApp/cloudnetv2/branches{/branch}","tags_url":"https://api.github.com/repos/OnApp/cloudnetv2/tags","blobs_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OnApp/cloudnetv2/statuses/{sha}","languages_url":"https://api.github.com/repos/OnApp/cloudnetv2/languages","stargazers_url":"https://api.github.com/repos/OnApp/cloudnetv2/stargazers","contributors_url":"https://api.github.com/repos/OnApp/cloudnetv2/contributors","subscribers_url":"https://api.github.com/repos/OnApp/cloudnetv2/subscribers","subscription_url":"https://api.github.com/repos/OnApp/cloudnetv2/subscription","commits_url":"https://api.github.com/repos/OnApp/cloudnetv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/OnApp/cloudnetv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/OnApp/cloudnetv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/OnApp/cloudnetv2/contents/{+path}","compare_url":"https://api.github.com/repos/OnApp/cloudnetv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OnApp/cloudnetv2/merges","archive_url":"https://api.github.com/repos/OnApp/cloudnetv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OnApp/cloudnetv2/downloads","issues_url":"https://api.github.com/repos/OnApp/cloudnetv2/issues{/number}","pulls_url":"https://api.github.com/repos/OnApp/cloudnetv2/pulls{/number}","milestones_url":"https://api.github.com/repos/OnApp/cloudnetv2/milestones{/number}","notifications_url":"https://api.github.com/repos/OnApp/cloudnetv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OnApp/cloudnetv2/labels{/name}","releases_url":"https://api.github.com/repos/OnApp/cloudnetv2/releases{/id}","created_at":"2015-02-22T22:33:06Z","updated_at":"2015-11-23T11:10:50Z","pushed_at":"2016-01-15T09:19:02Z","git_url":"git://github.com/OnApp/cloudnetv2.git","ssh_url":"git@github.com:OnApp/cloudnetv2.git","clone_url":"https://github.com/OnApp/cloudnetv2.git","svn_url":"https://github.com/OnApp/cloudnetv2","homepage":null,"size":350,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/2"},"html":{"href":"https://github.com/OnApp/cloudnetv2/pull/2"},"issue":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/issues/2"},"comments":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/OnApp/cloudnetv2/statuses/b353681d3d12e06e2e110de0660319b38ebec00b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tombh","id":160835,"avatar_url":"https://avatars.githubusercontent.com/u/160835?v=3","gravatar_id":"","url":"https://api.github.com/users/tombh","html_url":"https://github.com/tombh","followers_url":"https://api.github.com/users/tombh/followers","following_url":"https://api.github.com/users/tombh/following{/other_user}","gists_url":"https://api.github.com/users/tombh/gists{/gist_id}","starred_url":"https://api.github.com/users/tombh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombh/subscriptions","organizations_url":"https://api.github.com/users/tombh/orgs","repos_url":"https://api.github.com/users/tombh/repos","events_url":"https://api.github.com/users/tombh/events{/privacy}","received_events_url":"https://api.github.com/users/tombh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":513,"deletions":207,"changed_files":32}}