{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/sep/ollert/pulls/4","id":28435741,"html_url":"https://github.com/sep/ollert/pull/4","diff_url":"https://github.com/sep/ollert/pull/4.diff","patch_url":"https://github.com/sep/ollert/pull/4.patch","issue_url":"https://api.github.com/repos/sep/ollert/issues/4","number":4,"state":"closed","locked":false,"title":"Cucumber environment","user":{"login":"leviwilson","id":574434,"avatar_url":"https://avatars.githubusercontent.com/u/574434?v=3","gravatar_id":"","url":"https://api.github.com/users/leviwilson","html_url":"https://github.com/leviwilson","followers_url":"https://api.github.com/users/leviwilson/followers","following_url":"https://api.github.com/users/leviwilson/following{/other_user}","gists_url":"https://api.github.com/users/leviwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/leviwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviwilson/subscriptions","organizations_url":"https://api.github.com/users/leviwilson/orgs","repos_url":"https://api.github.com/users/leviwilson/repos","events_url":"https://api.github.com/users/leviwilson/events{/privacy}","received_events_url":"https://api.github.com/users/leviwilson/received_events","type":"User","site_admin":false},"body":"When attempting to run the cucumber tests from either the `cucumber` command directly or within RubyMine it was not using my `.env` (if you only used Rake). Moving the `Dotenv.load` into the `AfterConfiguration` hook of cucumber allowed it to work no matter which way you were trying to run the tests.\r\n\r\nI also separated the cucumber hook into their own `hooks.rb` file.","created_at":"2015-02-01T19:35:48Z","updated_at":"2015-02-03T11:56:30Z","closed_at":"2015-02-03T11:56:30Z","merged_at":"2015-02-03T11:56:30Z","merge_commit_sha":"583b031b89aadc3d35583641a75a72e853905300","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sep/ollert/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sep/ollert/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sep/ollert/pulls/comments/{number}","comments_url":"https://api.github.com/repos/sep/ollert/issues/4/comments","statuses_url":"https://api.github.com/repos/sep/ollert/statuses/5752f1087901ed5734638be648f6ef2df2a15cbe","head":{"label":"leviwilson:cucumber_environment","ref":"cucumber_environment","sha":"5752f1087901ed5734638be648f6ef2df2a15cbe","user":{"login":"leviwilson","id":574434,"avatar_url":"https://avatars.githubusercontent.com/u/574434?v=3","gravatar_id":"","url":"https://api.github.com/users/leviwilson","html_url":"https://github.com/leviwilson","followers_url":"https://api.github.com/users/leviwilson/followers","following_url":"https://api.github.com/users/leviwilson/following{/other_user}","gists_url":"https://api.github.com/users/leviwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/leviwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviwilson/subscriptions","organizations_url":"https://api.github.com/users/leviwilson/orgs","repos_url":"https://api.github.com/users/leviwilson/repos","events_url":"https://api.github.com/users/leviwilson/events{/privacy}","received_events_url":"https://api.github.com/users/leviwilson/received_events","type":"User","site_admin":false},"repo":{"id":30022716,"name":"ollert","full_name":"leviwilson/ollert","owner":{"login":"leviwilson","id":574434,"avatar_url":"https://avatars.githubusercontent.com/u/574434?v=3","gravatar_id":"","url":"https://api.github.com/users/leviwilson","html_url":"https://github.com/leviwilson","followers_url":"https://api.github.com/users/leviwilson/followers","following_url":"https://api.github.com/users/leviwilson/following{/other_user}","gists_url":"https://api.github.com/users/leviwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/leviwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviwilson/subscriptions","organizations_url":"https://api.github.com/users/leviwilson/orgs","repos_url":"https://api.github.com/users/leviwilson/repos","events_url":"https://api.github.com/users/leviwilson/events{/privacy}","received_events_url":"https://api.github.com/users/leviwilson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leviwilson/ollert","description":"https://ollertapp.com","fork":true,"url":"https://api.github.com/repos/leviwilson/ollert","forks_url":"https://api.github.com/repos/leviwilson/ollert/forks","keys_url":"https://api.github.com/repos/leviwilson/ollert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leviwilson/ollert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leviwilson/ollert/teams","hooks_url":"https://api.github.com/repos/leviwilson/ollert/hooks","issue_events_url":"https://api.github.com/repos/leviwilson/ollert/issues/events{/number}","events_url":"https://api.github.com/repos/leviwilson/ollert/events","assignees_url":"https://api.github.com/repos/leviwilson/ollert/assignees{/user}","branches_url":"https://api.github.com/repos/leviwilson/ollert/branches{/branch}","tags_url":"https://api.github.com/repos/leviwilson/ollert/tags","blobs_url":"https://api.github.com/repos/leviwilson/ollert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leviwilson/ollert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leviwilson/ollert/git/refs{/sha}","trees_url":"https://api.github.com/repos/leviwilson/ollert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leviwilson/ollert/statuses/{sha}","languages_url":"https://api.github.com/repos/leviwilson/ollert/languages","stargazers_url":"https://api.github.com/repos/leviwilson/ollert/stargazers","contributors_url":"https://api.github.com/repos/leviwilson/ollert/contributors","subscribers_url":"https://api.github.com/repos/leviwilson/ollert/subscribers","subscription_url":"https://api.github.com/repos/leviwilson/ollert/subscription","commits_url":"https://api.github.com/repos/leviwilson/ollert/commits{/sha}","git_commits_url":"https://api.github.com/repos/leviwilson/ollert/git/commits{/sha}","comments_url":"https://api.github.com/repos/leviwilson/ollert/comments{/number}","issue_comment_url":"https://api.github.com/repos/leviwilson/ollert/issues/comments/{number}","contents_url":"https://api.github.com/repos/leviwilson/ollert/contents/{+path}","compare_url":"https://api.github.com/repos/leviwilson/ollert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leviwilson/ollert/merges","archive_url":"https://api.github.com/repos/leviwilson/ollert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leviwilson/ollert/downloads","issues_url":"https://api.github.com/repos/leviwilson/ollert/issues{/number}","pulls_url":"https://api.github.com/repos/leviwilson/ollert/pulls{/number}","milestones_url":"https://api.github.com/repos/leviwilson/ollert/milestones{/number}","notifications_url":"https://api.github.com/repos/leviwilson/ollert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leviwilson/ollert/labels{/name}","releases_url":"https://api.github.com/repos/leviwilson/ollert/releases{/id}","created_at":"2015-01-29T14:07:15Z","updated_at":"2015-01-30T01:16:06Z","pushed_at":"2015-02-01T22:08:49Z","git_url":"git://github.com/leviwilson/ollert.git","ssh_url":"git@github.com:leviwilson/ollert.git","clone_url":"https://github.com/leviwilson/ollert.git","svn_url":"https://github.com/leviwilson/ollert","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"sep:master","ref":"master","sha":"cdcda3222b953c6d203c9c04b802bdc8303fc44c","user":{"login":"sep","id":320318,"avatar_url":"https://avatars.githubusercontent.com/u/320318?v=3","gravatar_id":"","url":"https://api.github.com/users/sep","html_url":"https://github.com/sep","followers_url":"https://api.github.com/users/sep/followers","following_url":"https://api.github.com/users/sep/following{/other_user}","gists_url":"https://api.github.com/users/sep/gists{/gist_id}","starred_url":"https://api.github.com/users/sep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sep/subscriptions","organizations_url":"https://api.github.com/users/sep/orgs","repos_url":"https://api.github.com/users/sep/repos","events_url":"https://api.github.com/users/sep/events{/privacy}","received_events_url":"https://api.github.com/users/sep/received_events","type":"Organization","site_admin":false},"repo":{"id":30020248,"name":"ollert","full_name":"sep/ollert","owner":{"login":"sep","id":320318,"avatar_url":"https://avatars.githubusercontent.com/u/320318?v=3","gravatar_id":"","url":"https://api.github.com/users/sep","html_url":"https://github.com/sep","followers_url":"https://api.github.com/users/sep/followers","following_url":"https://api.github.com/users/sep/following{/other_user}","gists_url":"https://api.github.com/users/sep/gists{/gist_id}","starred_url":"https://api.github.com/users/sep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sep/subscriptions","organizations_url":"https://api.github.com/users/sep/orgs","repos_url":"https://api.github.com/users/sep/repos","events_url":"https://api.github.com/users/sep/events{/privacy}","received_events_url":"https://api.github.com/users/sep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sep/ollert","description":"https://ollertapp.com","fork":false,"url":"https://api.github.com/repos/sep/ollert","forks_url":"https://api.github.com/repos/sep/ollert/forks","keys_url":"https://api.github.com/repos/sep/ollert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sep/ollert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sep/ollert/teams","hooks_url":"https://api.github.com/repos/sep/ollert/hooks","issue_events_url":"https://api.github.com/repos/sep/ollert/issues/events{/number}","events_url":"https://api.github.com/repos/sep/ollert/events","assignees_url":"https://api.github.com/repos/sep/ollert/assignees{/user}","branches_url":"https://api.github.com/repos/sep/ollert/branches{/branch}","tags_url":"https://api.github.com/repos/sep/ollert/tags","blobs_url":"https://api.github.com/repos/sep/ollert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sep/ollert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sep/ollert/git/refs{/sha}","trees_url":"https://api.github.com/repos/sep/ollert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sep/ollert/statuses/{sha}","languages_url":"https://api.github.com/repos/sep/ollert/languages","stargazers_url":"https://api.github.com/repos/sep/ollert/stargazers","contributors_url":"https://api.github.com/repos/sep/ollert/contributors","subscribers_url":"https://api.github.com/repos/sep/ollert/subscribers","subscription_url":"https://api.github.com/repos/sep/ollert/subscription","commits_url":"https://api.github.com/repos/sep/ollert/commits{/sha}","git_commits_url":"https://api.github.com/repos/sep/ollert/git/commits{/sha}","comments_url":"https://api.github.com/repos/sep/ollert/comments{/number}","issue_comment_url":"https://api.github.com/repos/sep/ollert/issues/comments/{number}","contents_url":"https://api.github.com/repos/sep/ollert/contents/{+path}","compare_url":"https://api.github.com/repos/sep/ollert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sep/ollert/merges","archive_url":"https://api.github.com/repos/sep/ollert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sep/ollert/downloads","issues_url":"https://api.github.com/repos/sep/ollert/issues{/number}","pulls_url":"https://api.github.com/repos/sep/ollert/pulls{/number}","milestones_url":"https://api.github.com/repos/sep/ollert/milestones{/number}","notifications_url":"https://api.github.com/repos/sep/ollert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sep/ollert/labels{/name}","releases_url":"https://api.github.com/repos/sep/ollert/releases{/id}","created_at":"2015-01-29T13:03:09Z","updated_at":"2015-01-29T17:39:52Z","pushed_at":"2015-02-03T11:56:30Z","git_url":"git://github.com/sep/ollert.git","ssh_url":"git@github.com:sep/ollert.git","clone_url":"https://github.com/sep/ollert.git","svn_url":"https://github.com/sep/ollert","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sep/ollert/pulls/4"},"html":{"href":"https://github.com/sep/ollert/pull/4"},"issue":{"href":"https://api.github.com/repos/sep/ollert/issues/4"},"comments":{"href":"https://api.github.com/repos/sep/ollert/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sep/ollert/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sep/ollert/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/sep/ollert/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sep/ollert/statuses/5752f1087901ed5734638be648f6ef2df2a15cbe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"larryprice","id":1653573,"avatar_url":"https://avatars.githubusercontent.com/u/1653573?v=3","gravatar_id":"","url":"https://api.github.com/users/larryprice","html_url":"https://github.com/larryprice","followers_url":"https://api.github.com/users/larryprice/followers","following_url":"https://api.github.com/users/larryprice/following{/other_user}","gists_url":"https://api.github.com/users/larryprice/gists{/gist_id}","starred_url":"https://api.github.com/users/larryprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larryprice/subscriptions","organizations_url":"https://api.github.com/users/larryprice/orgs","repos_url":"https://api.github.com/users/larryprice/repos","events_url":"https://api.github.com/users/larryprice/events{/privacy}","received_events_url":"https://api.github.com/users/larryprice/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":49,"deletions":29,"changed_files":9}}