{"action":"opened","number":623,"pull_request":{"url":"https://api.github.com/repos/segmentio/nightmare/pulls/623","id":69184990,"html_url":"https://github.com/segmentio/nightmare/pull/623","diff_url":"https://github.com/segmentio/nightmare/pull/623.diff","patch_url":"https://github.com/segmentio/nightmare/pull/623.patch","issue_url":"https://api.github.com/repos/segmentio/nightmare/issues/623","number":623,"state":"open","locked":false,"title":"Add better tests for switches.","user":{"login":"Mr0grog","id":74178,"avatar_url":"https://avatars.githubusercontent.com/u/74178?v=3","gravatar_id":"","url":"https://api.github.com/users/Mr0grog","html_url":"https://github.com/Mr0grog","followers_url":"https://api.github.com/users/Mr0grog/followers","following_url":"https://api.github.com/users/Mr0grog/following{/other_user}","gists_url":"https://api.github.com/users/Mr0grog/gists{/gist_id}","starred_url":"https://api.github.com/users/Mr0grog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mr0grog/subscriptions","organizations_url":"https://api.github.com/users/Mr0grog/orgs","repos_url":"https://api.github.com/users/Mr0grog/repos","events_url":"https://api.github.com/users/Mr0grog/events{/privacy}","received_events_url":"https://api.github.com/users/Mr0grog/received_events","type":"User","site_admin":false},"body":"Fixes #622.\r\n\r\n#595 should be almost exactly the same as ‘should be constructable with switches’ since it is the same, just only supporting switches with no values (or switch + value together in one string).","created_at":"2016-05-06T17:42:32Z","updated_at":"2016-05-06T17:42:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/segmentio/nightmare/pulls/623/commits","review_comments_url":"https://api.github.com/repos/segmentio/nightmare/pulls/623/comments","review_comment_url":"https://api.github.com/repos/segmentio/nightmare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/segmentio/nightmare/issues/623/comments","statuses_url":"https://api.github.com/repos/segmentio/nightmare/statuses/ec0d255be8c43be6e9174b34520bd2ee27ec2d71","head":{"label":"Mr0grog:622-make-sure-switches-switches-the-switches","ref":"622-make-sure-switches-switches-the-switches","sha":"ec0d255be8c43be6e9174b34520bd2ee27ec2d71","user":{"login":"Mr0grog","id":74178,"avatar_url":"https://avatars.githubusercontent.com/u/74178?v=3","gravatar_id":"","url":"https://api.github.com/users/Mr0grog","html_url":"https://github.com/Mr0grog","followers_url":"https://api.github.com/users/Mr0grog/followers","following_url":"https://api.github.com/users/Mr0grog/following{/other_user}","gists_url":"https://api.github.com/users/Mr0grog/gists{/gist_id}","starred_url":"https://api.github.com/users/Mr0grog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mr0grog/subscriptions","organizations_url":"https://api.github.com/users/Mr0grog/orgs","repos_url":"https://api.github.com/users/Mr0grog/repos","events_url":"https://api.github.com/users/Mr0grog/events{/privacy}","received_events_url":"https://api.github.com/users/Mr0grog/received_events","type":"User","site_admin":false},"repo":{"id":51460189,"name":"nightmare","full_name":"Mr0grog/nightmare","owner":{"login":"Mr0grog","id":74178,"avatar_url":"https://avatars.githubusercontent.com/u/74178?v=3","gravatar_id":"","url":"https://api.github.com/users/Mr0grog","html_url":"https://github.com/Mr0grog","followers_url":"https://api.github.com/users/Mr0grog/followers","following_url":"https://api.github.com/users/Mr0grog/following{/other_user}","gists_url":"https://api.github.com/users/Mr0grog/gists{/gist_id}","starred_url":"https://api.github.com/users/Mr0grog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mr0grog/subscriptions","organizations_url":"https://api.github.com/users/Mr0grog/orgs","repos_url":"https://api.github.com/users/Mr0grog/repos","events_url":"https://api.github.com/users/Mr0grog/events{/privacy}","received_events_url":"https://api.github.com/users/Mr0grog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mr0grog/nightmare","description":"A high-level browser automation library.","fork":true,"url":"https://api.github.com/repos/Mr0grog/nightmare","forks_url":"https://api.github.com/repos/Mr0grog/nightmare/forks","keys_url":"https://api.github.com/repos/Mr0grog/nightmare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mr0grog/nightmare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mr0grog/nightmare/teams","hooks_url":"https://api.github.com/repos/Mr0grog/nightmare/hooks","issue_events_url":"https://api.github.com/repos/Mr0grog/nightmare/issues/events{/number}","events_url":"https://api.github.com/repos/Mr0grog/nightmare/events","assignees_url":"https://api.github.com/repos/Mr0grog/nightmare/assignees{/user}","branches_url":"https://api.github.com/repos/Mr0grog/nightmare/branches{/branch}","tags_url":"https://api.github.com/repos/Mr0grog/nightmare/tags","blobs_url":"https://api.github.com/repos/Mr0grog/nightmare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mr0grog/nightmare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mr0grog/nightmare/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mr0grog/nightmare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mr0grog/nightmare/statuses/{sha}","languages_url":"https://api.github.com/repos/Mr0grog/nightmare/languages","stargazers_url":"https://api.github.com/repos/Mr0grog/nightmare/stargazers","contributors_url":"https://api.github.com/repos/Mr0grog/nightmare/contributors","subscribers_url":"https://api.github.com/repos/Mr0grog/nightmare/subscribers","subscription_url":"https://api.github.com/repos/Mr0grog/nightmare/subscription","commits_url":"https://api.github.com/repos/Mr0grog/nightmare/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mr0grog/nightmare/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mr0grog/nightmare/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mr0grog/nightmare/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mr0grog/nightmare/contents/{+path}","compare_url":"https://api.github.com/repos/Mr0grog/nightmare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mr0grog/nightmare/merges","archive_url":"https://api.github.com/repos/Mr0grog/nightmare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mr0grog/nightmare/downloads","issues_url":"https://api.github.com/repos/Mr0grog/nightmare/issues{/number}","pulls_url":"https://api.github.com/repos/Mr0grog/nightmare/pulls{/number}","milestones_url":"https://api.github.com/repos/Mr0grog/nightmare/milestones{/number}","notifications_url":"https://api.github.com/repos/Mr0grog/nightmare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mr0grog/nightmare/labels{/name}","releases_url":"https://api.github.com/repos/Mr0grog/nightmare/releases{/id}","deployments_url":"https://api.github.com/repos/Mr0grog/nightmare/deployments","created_at":"2016-02-10T18:04:14Z","updated_at":"2016-02-10T18:04:15Z","pushed_at":"2016-05-06T17:40:36Z","git_url":"git://github.com/Mr0grog/nightmare.git","ssh_url":"git@github.com:Mr0grog/nightmare.git","clone_url":"https://github.com/Mr0grog/nightmare.git","svn_url":"https://github.com/Mr0grog/nightmare","homepage":"http://nightmarejs.org","size":1875,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"segmentio:master","ref":"master","sha":"fdadd783ab9e777980dd419ca77becfa20646330","user":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"repo":{"id":18477927,"name":"nightmare","full_name":"segmentio/nightmare","owner":{"login":"segmentio","id":819518,"avatar_url":"https://avatars.githubusercontent.com/u/819518?v=3","gravatar_id":"","url":"https://api.github.com/users/segmentio","html_url":"https://github.com/segmentio","followers_url":"https://api.github.com/users/segmentio/followers","following_url":"https://api.github.com/users/segmentio/following{/other_user}","gists_url":"https://api.github.com/users/segmentio/gists{/gist_id}","starred_url":"https://api.github.com/users/segmentio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segmentio/subscriptions","organizations_url":"https://api.github.com/users/segmentio/orgs","repos_url":"https://api.github.com/users/segmentio/repos","events_url":"https://api.github.com/users/segmentio/events{/privacy}","received_events_url":"https://api.github.com/users/segmentio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/segmentio/nightmare","description":"A high-level browser automation library.","fork":false,"url":"https://api.github.com/repos/segmentio/nightmare","forks_url":"https://api.github.com/repos/segmentio/nightmare/forks","keys_url":"https://api.github.com/repos/segmentio/nightmare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/segmentio/nightmare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/segmentio/nightmare/teams","hooks_url":"https://api.github.com/repos/segmentio/nightmare/hooks","issue_events_url":"https://api.github.com/repos/segmentio/nightmare/issues/events{/number}","events_url":"https://api.github.com/repos/segmentio/nightmare/events","assignees_url":"https://api.github.com/repos/segmentio/nightmare/assignees{/user}","branches_url":"https://api.github.com/repos/segmentio/nightmare/branches{/branch}","tags_url":"https://api.github.com/repos/segmentio/nightmare/tags","blobs_url":"https://api.github.com/repos/segmentio/nightmare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/segmentio/nightmare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/segmentio/nightmare/git/refs{/sha}","trees_url":"https://api.github.com/repos/segmentio/nightmare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/segmentio/nightmare/statuses/{sha}","languages_url":"https://api.github.com/repos/segmentio/nightmare/languages","stargazers_url":"https://api.github.com/repos/segmentio/nightmare/stargazers","contributors_url":"https://api.github.com/repos/segmentio/nightmare/contributors","subscribers_url":"https://api.github.com/repos/segmentio/nightmare/subscribers","subscription_url":"https://api.github.com/repos/segmentio/nightmare/subscription","commits_url":"https://api.github.com/repos/segmentio/nightmare/commits{/sha}","git_commits_url":"https://api.github.com/repos/segmentio/nightmare/git/commits{/sha}","comments_url":"https://api.github.com/repos/segmentio/nightmare/comments{/number}","issue_comment_url":"https://api.github.com/repos/segmentio/nightmare/issues/comments{/number}","contents_url":"https://api.github.com/repos/segmentio/nightmare/contents/{+path}","compare_url":"https://api.github.com/repos/segmentio/nightmare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/segmentio/nightmare/merges","archive_url":"https://api.github.com/repos/segmentio/nightmare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/segmentio/nightmare/downloads","issues_url":"https://api.github.com/repos/segmentio/nightmare/issues{/number}","pulls_url":"https://api.github.com/repos/segmentio/nightmare/pulls{/number}","milestones_url":"https://api.github.com/repos/segmentio/nightmare/milestones{/number}","notifications_url":"https://api.github.com/repos/segmentio/nightmare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/segmentio/nightmare/labels{/name}","releases_url":"https://api.github.com/repos/segmentio/nightmare/releases{/id}","deployments_url":"https://api.github.com/repos/segmentio/nightmare/deployments","created_at":"2014-04-05T22:19:51Z","updated_at":"2016-05-06T17:24:43Z","pushed_at":"2016-05-05T18:26:50Z","git_url":"git://github.com/segmentio/nightmare.git","ssh_url":"git@github.com:segmentio/nightmare.git","clone_url":"https://github.com/segmentio/nightmare.git","svn_url":"https://github.com/segmentio/nightmare","homepage":"http://nightmarejs.org","size":2611,"stargazers_count":7226,"watchers_count":7226,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":369,"mirror_url":null,"open_issues_count":75,"forks":369,"open_issues":75,"watchers":7226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/segmentio/nightmare/pulls/623"},"html":{"href":"https://github.com/segmentio/nightmare/pull/623"},"issue":{"href":"https://api.github.com/repos/segmentio/nightmare/issues/623"},"comments":{"href":"https://api.github.com/repos/segmentio/nightmare/issues/623/comments"},"review_comments":{"href":"https://api.github.com/repos/segmentio/nightmare/pulls/623/comments"},"review_comment":{"href":"https://api.github.com/repos/segmentio/nightmare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/segmentio/nightmare/pulls/623/commits"},"statuses":{"href":"https://api.github.com/repos/segmentio/nightmare/statuses/ec0d255be8c43be6e9174b34520bd2ee27ec2d71"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":73,"deletions":2,"changed_files":3}}