{"action":"created","comment":{"url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/comments/34188429","id":34188429,"diff_hunk":"@@ -6,38 +6,46 @@\n   review for a specific Workspace.\n } do\n   let(:user) { FactoryGirl.create(:user) }\n-  let(:workspace) { FactoryGirl.create(:workspace, user: user) }\n+  let(:workspace) { FactoryGirl.create(:workspace) }\n \n-  pending \"user submits new review for a workspace\" do\n+  scenario \"user submits a valid review for a workspace\", js: true do\n     sign_in_as(user)\n \n     expect(page).to have_content(\"Signed in successfully\")\n     expect(page).to have_content(\"Sign Out\")\n \n     visit workspace_path(workspace)\n+\n+    # expect(page).to have_content(\"Add Review\")\n+    click_link \"Add Review\"\n+    expect(page).to have_content(\"Body\")\n+\n     fill_in \"Body\", with: \"What a worthwhile review this is.\"\n     select \"2\", from: \"Rating\"\n-    click_button \"Submit Review\"\n+    click_button \"Submit\"\n+\n+    expect(page).to have_content(\"What a worthwhile review this is.\")\n+    expect(page).to have_content(\"Rating: 2\")\n \n-    expect(Review.last.body).to be_a(String)\n-    expect(Review.last.rating).to be_an(Integer)\n+    visit workspace_path(workspace)\n     expect(page).to have_content(\"What a worthwhile review this is.\")\n     expect(page).to have_content(\"Rating: 2\")\n     expect(page).to have_button(\"Update Review\")\n     expect(page).to have_button(\"Delete Review\")\n   end\n \n-  pending \"user submits an invalid review for a workspace\" do\n-    visit new_user_session_path\n-\n+  scenario \"user submits an invalid review for a workspace\", js:true do","path":"spec/features/user_adds_workspace_review_spec.rb","position":40,"original_position":40,"commit_id":"ef4e9b4795b712339e8f97419e41fb4c5a24e6c9","original_commit_id":"ef4e9b4795b712339e8f97419e41fb4c5a24e6c9","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space missing after colon.","created_at":"2015-07-08T19:28:23Z","updated_at":"2015-07-08T19:28:23Z","html_url":"https://github.com/timchepeleff/Great-Workspace-Review/pull/18#discussion_r34188429","pull_request_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/comments/34188429"},"html":{"href":"https://github.com/timchepeleff/Great-Workspace-Review/pull/18#discussion_r34188429"},"pull_request":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18","id":39513708,"html_url":"https://github.com/timchepeleff/Great-Workspace-Review/pull/18","diff_url":"https://github.com/timchepeleff/Great-Workspace-Review/pull/18.diff","patch_url":"https://github.com/timchepeleff/Great-Workspace-Review/pull/18.patch","issue_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/18","number":18,"state":"open","locked":false,"title":"[WIP] Kt ps javascript tests","user":{"login":"kat3185","id":11493429,"avatar_url":"https://avatars.githubusercontent.com/u/11493429?v=3","gravatar_id":"","url":"https://api.github.com/users/kat3185","html_url":"https://github.com/kat3185","followers_url":"https://api.github.com/users/kat3185/followers","following_url":"https://api.github.com/users/kat3185/following{/other_user}","gists_url":"https://api.github.com/users/kat3185/gists{/gist_id}","starred_url":"https://api.github.com/users/kat3185/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kat3185/subscriptions","organizations_url":"https://api.github.com/users/kat3185/orgs","repos_url":"https://api.github.com/users/kat3185/repos","events_url":"https://api.github.com/users/kat3185/events{/privacy}","received_events_url":"https://api.github.com/users/kat3185/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-08T19:28:03Z","updated_at":"2015-07-08T19:28:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18/commits","review_comments_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18/comments","review_comment_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/18/comments","statuses_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/statuses/ef4e9b4795b712339e8f97419e41fb4c5a24e6c9","head":{"label":"timchepeleff:kt-ps-javascript-tests","ref":"kt-ps-javascript-tests","sha":"ef4e9b4795b712339e8f97419e41fb4c5a24e6c9","user":{"login":"timchepeleff","id":5407406,"avatar_url":"https://avatars.githubusercontent.com/u/5407406?v=3","gravatar_id":"","url":"https://api.github.com/users/timchepeleff","html_url":"https://github.com/timchepeleff","followers_url":"https://api.github.com/users/timchepeleff/followers","following_url":"https://api.github.com/users/timchepeleff/following{/other_user}","gists_url":"https://api.github.com/users/timchepeleff/gists{/gist_id}","starred_url":"https://api.github.com/users/timchepeleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timchepeleff/subscriptions","organizations_url":"https://api.github.com/users/timchepeleff/orgs","repos_url":"https://api.github.com/users/timchepeleff/repos","events_url":"https://api.github.com/users/timchepeleff/events{/privacy}","received_events_url":"https://api.github.com/users/timchepeleff/received_events","type":"User","site_admin":false},"repo":{"id":38255356,"name":"Great-Workspace-Review","full_name":"timchepeleff/Great-Workspace-Review","owner":{"login":"timchepeleff","id":5407406,"avatar_url":"https://avatars.githubusercontent.com/u/5407406?v=3","gravatar_id":"","url":"https://api.github.com/users/timchepeleff","html_url":"https://github.com/timchepeleff","followers_url":"https://api.github.com/users/timchepeleff/followers","following_url":"https://api.github.com/users/timchepeleff/following{/other_user}","gists_url":"https://api.github.com/users/timchepeleff/gists{/gist_id}","starred_url":"https://api.github.com/users/timchepeleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timchepeleff/subscriptions","organizations_url":"https://api.github.com/users/timchepeleff/orgs","repos_url":"https://api.github.com/users/timchepeleff/repos","events_url":"https://api.github.com/users/timchepeleff/events{/privacy}","received_events_url":"https://api.github.com/users/timchepeleff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timchepeleff/Great-Workspace-Review","description":"","fork":false,"url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review","forks_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/forks","keys_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/teams","hooks_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/hooks","issue_events_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/events{/number}","events_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/events","assignees_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/assignees{/user}","branches_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/branches{/branch}","tags_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/tags","blobs_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/refs{/sha}","trees_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/statuses/{sha}","languages_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/languages","stargazers_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/stargazers","contributors_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/contributors","subscribers_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/subscribers","subscription_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/subscription","commits_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/commits{/sha}","git_commits_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/commits{/sha}","comments_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/comments{/number}","issue_comment_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/comments{/number}","contents_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/contents/{+path}","compare_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/merges","archive_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/downloads","issues_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues{/number}","pulls_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls{/number}","milestones_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/milestones{/number}","notifications_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/labels{/name}","releases_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/releases{/id}","created_at":"2015-06-29T15:33:03Z","updated_at":"2015-06-30T17:30:12Z","pushed_at":"2015-07-08T19:28:03Z","git_url":"git://github.com/timchepeleff/Great-Workspace-Review.git","ssh_url":"git@github.com:timchepeleff/Great-Workspace-Review.git","clone_url":"https://github.com/timchepeleff/Great-Workspace-Review.git","svn_url":"https://github.com/timchepeleff/Great-Workspace-Review","homepage":null,"size":804,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"timchepeleff:master","ref":"master","sha":"c7a94627ab14cad12eb533a58a2e6221266ae23b","user":{"login":"timchepeleff","id":5407406,"avatar_url":"https://avatars.githubusercontent.com/u/5407406?v=3","gravatar_id":"","url":"https://api.github.com/users/timchepeleff","html_url":"https://github.com/timchepeleff","followers_url":"https://api.github.com/users/timchepeleff/followers","following_url":"https://api.github.com/users/timchepeleff/following{/other_user}","gists_url":"https://api.github.com/users/timchepeleff/gists{/gist_id}","starred_url":"https://api.github.com/users/timchepeleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timchepeleff/subscriptions","organizations_url":"https://api.github.com/users/timchepeleff/orgs","repos_url":"https://api.github.com/users/timchepeleff/repos","events_url":"https://api.github.com/users/timchepeleff/events{/privacy}","received_events_url":"https://api.github.com/users/timchepeleff/received_events","type":"User","site_admin":false},"repo":{"id":38255356,"name":"Great-Workspace-Review","full_name":"timchepeleff/Great-Workspace-Review","owner":{"login":"timchepeleff","id":5407406,"avatar_url":"https://avatars.githubusercontent.com/u/5407406?v=3","gravatar_id":"","url":"https://api.github.com/users/timchepeleff","html_url":"https://github.com/timchepeleff","followers_url":"https://api.github.com/users/timchepeleff/followers","following_url":"https://api.github.com/users/timchepeleff/following{/other_user}","gists_url":"https://api.github.com/users/timchepeleff/gists{/gist_id}","starred_url":"https://api.github.com/users/timchepeleff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timchepeleff/subscriptions","organizations_url":"https://api.github.com/users/timchepeleff/orgs","repos_url":"https://api.github.com/users/timchepeleff/repos","events_url":"https://api.github.com/users/timchepeleff/events{/privacy}","received_events_url":"https://api.github.com/users/timchepeleff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timchepeleff/Great-Workspace-Review","description":"","fork":false,"url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review","forks_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/forks","keys_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/teams","hooks_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/hooks","issue_events_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/events{/number}","events_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/events","assignees_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/assignees{/user}","branches_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/branches{/branch}","tags_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/tags","blobs_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/refs{/sha}","trees_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/statuses/{sha}","languages_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/languages","stargazers_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/stargazers","contributors_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/contributors","subscribers_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/subscribers","subscription_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/subscription","commits_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/commits{/sha}","git_commits_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/git/commits{/sha}","comments_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/comments{/number}","issue_comment_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/comments{/number}","contents_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/contents/{+path}","compare_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/merges","archive_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/downloads","issues_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues{/number}","pulls_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls{/number}","milestones_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/milestones{/number}","notifications_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/labels{/name}","releases_url":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/releases{/id}","created_at":"2015-06-29T15:33:03Z","updated_at":"2015-06-30T17:30:12Z","pushed_at":"2015-07-08T19:28:03Z","git_url":"git://github.com/timchepeleff/Great-Workspace-Review.git","ssh_url":"git@github.com:timchepeleff/Great-Workspace-Review.git","clone_url":"https://github.com/timchepeleff/Great-Workspace-Review.git","svn_url":"https://github.com/timchepeleff/Great-Workspace-Review","homepage":null,"size":804,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18"},"html":{"href":"https://github.com/timchepeleff/Great-Workspace-Review/pull/18"},"issue":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/18"},"comments":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/timchepeleff/Great-Workspace-Review/statuses/ef4e9b4795b712339e8f97419e41fb4c5a24e6c9"}}}}