{"action":"created","comment":{"url":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments/45054963","id":45054963,"diff_hunk":"@@ -1,99 +1,32 @@\n-# This file was generated by the `rails generate rspec:install` command. Conventionally, all\n-# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.\n-# The generated `.rspec` file contains `--require spec_helper` which will cause\n-# this file to always be loaded, without a need to explicitly require it in any\n-# files.\n-#\n-# Given that it is always loaded, you are encouraged to keep this file as\n-# light-weight as possible. Requiring heavyweight dependencies from this file\n-# will add to the boot time of your test suite on EVERY test run, even for an\n-# individual file that may not need all of that loaded. Instead, consider making\n-# a separate helper file that requires the additional dependencies and performs\n-# the additional setup, and require it from the spec files that actually need\n-# it.\n-#\n-# The `.rspec` file also contains a few flags that are not defaults but that\n-# users commonly want.\n-#\n-# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration\n require File.expand_path('../../config/environment', __FILE__)\n-require \"paperclip/matchers\"\n+require 'paperclip/matchers'\n+require 'capybara/poltergeist'\n+require 'rspec/rails'\n+require 'capybara/rspec'\n+require 'capybara/rails'","path":"spec/spec_helper.rb","position":25,"original_position":25,"commit_id":"aa1b7f600e21d0ac118cff11570aa50f7a77cf31","original_commit_id":"aa1b7f600e21d0ac118cff11570aa50f7a77cf31","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":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-11-17T12:42:22Z","updated_at":"2015-11-17T12:42:22Z","html_url":"https://github.com/Shkrt/flashcards/pull/18#discussion_r45054963","pull_request_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments/45054963"},"html":{"href":"https://github.com/Shkrt/flashcards/pull/18#discussion_r45054963"},"pull_request":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/Shkrt/flashcards/pulls/18","id":50757802,"html_url":"https://github.com/Shkrt/flashcards/pull/18","diff_url":"https://github.com/Shkrt/flashcards/pull/18.diff","patch_url":"https://github.com/Shkrt/flashcards/pull/18.patch","issue_url":"https://api.github.com/repos/Shkrt/flashcards/issues/18","number":18,"state":"open","locked":false,"title":"supermemo support","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-15T22:00:53Z","updated_at":"2015-11-17T12:42:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4085244716922cb47d285e2dbc2b44910d33b944","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Shkrt/flashcards/issues/18/comments","statuses_url":"https://api.github.com/repos/Shkrt/flashcards/statuses/aa1b7f600e21d0ac118cff11570aa50f7a77cf31","head":{"label":"Shkrt:new_algos","ref":"new_algos","sha":"aa1b7f600e21d0ac118cff11570aa50f7a77cf31","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"repo":{"id":44377779,"name":"flashcards","full_name":"Shkrt/flashcards","owner":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shkrt/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Shkrt/flashcards","forks_url":"https://api.github.com/repos/Shkrt/flashcards/forks","keys_url":"https://api.github.com/repos/Shkrt/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shkrt/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shkrt/flashcards/teams","hooks_url":"https://api.github.com/repos/Shkrt/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Shkrt/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Shkrt/flashcards/events","assignees_url":"https://api.github.com/repos/Shkrt/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Shkrt/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Shkrt/flashcards/tags","blobs_url":"https://api.github.com/repos/Shkrt/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shkrt/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shkrt/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shkrt/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shkrt/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Shkrt/flashcards/languages","stargazers_url":"https://api.github.com/repos/Shkrt/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Shkrt/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Shkrt/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Shkrt/flashcards/subscription","commits_url":"https://api.github.com/repos/Shkrt/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shkrt/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shkrt/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shkrt/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shkrt/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Shkrt/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shkrt/flashcards/merges","archive_url":"https://api.github.com/repos/Shkrt/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shkrt/flashcards/downloads","issues_url":"https://api.github.com/repos/Shkrt/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Shkrt/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Shkrt/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Shkrt/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shkrt/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Shkrt/flashcards/releases{/id}","created_at":"2015-10-16T10:13:22Z","updated_at":"2015-10-16T16:14:42Z","pushed_at":"2015-11-17T12:42:16Z","git_url":"git://github.com/Shkrt/flashcards.git","ssh_url":"git@github.com:Shkrt/flashcards.git","clone_url":"https://github.com/Shkrt/flashcards.git","svn_url":"https://github.com/Shkrt/flashcards","homepage":null,"size":211,"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":"Shkrt:master","ref":"master","sha":"b122fbad1c96bcdac06a9e60f86d40cb7f9e1b33","user":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"repo":{"id":44377779,"name":"flashcards","full_name":"Shkrt/flashcards","owner":{"login":"Shkrt","id":10468452,"avatar_url":"https://avatars.githubusercontent.com/u/10468452?v=3","gravatar_id":"","url":"https://api.github.com/users/Shkrt","html_url":"https://github.com/Shkrt","followers_url":"https://api.github.com/users/Shkrt/followers","following_url":"https://api.github.com/users/Shkrt/following{/other_user}","gists_url":"https://api.github.com/users/Shkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/Shkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shkrt/subscriptions","organizations_url":"https://api.github.com/users/Shkrt/orgs","repos_url":"https://api.github.com/users/Shkrt/repos","events_url":"https://api.github.com/users/Shkrt/events{/privacy}","received_events_url":"https://api.github.com/users/Shkrt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shkrt/flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Shkrt/flashcards","forks_url":"https://api.github.com/repos/Shkrt/flashcards/forks","keys_url":"https://api.github.com/repos/Shkrt/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shkrt/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shkrt/flashcards/teams","hooks_url":"https://api.github.com/repos/Shkrt/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Shkrt/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Shkrt/flashcards/events","assignees_url":"https://api.github.com/repos/Shkrt/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Shkrt/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Shkrt/flashcards/tags","blobs_url":"https://api.github.com/repos/Shkrt/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shkrt/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shkrt/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shkrt/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shkrt/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Shkrt/flashcards/languages","stargazers_url":"https://api.github.com/repos/Shkrt/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Shkrt/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Shkrt/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Shkrt/flashcards/subscription","commits_url":"https://api.github.com/repos/Shkrt/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shkrt/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shkrt/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shkrt/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shkrt/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Shkrt/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shkrt/flashcards/merges","archive_url":"https://api.github.com/repos/Shkrt/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shkrt/flashcards/downloads","issues_url":"https://api.github.com/repos/Shkrt/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Shkrt/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Shkrt/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Shkrt/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shkrt/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Shkrt/flashcards/releases{/id}","created_at":"2015-10-16T10:13:22Z","updated_at":"2015-10-16T16:14:42Z","pushed_at":"2015-11-17T12:42:16Z","git_url":"git://github.com/Shkrt/flashcards.git","ssh_url":"git@github.com:Shkrt/flashcards.git","clone_url":"https://github.com/Shkrt/flashcards.git","svn_url":"https://github.com/Shkrt/flashcards","homepage":null,"size":211,"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/Shkrt/flashcards/pulls/18"},"html":{"href":"https://github.com/Shkrt/flashcards/pull/18"},"issue":{"href":"https://api.github.com/repos/Shkrt/flashcards/issues/18"},"comments":{"href":"https://api.github.com/repos/Shkrt/flashcards/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Shkrt/flashcards/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Shkrt/flashcards/statuses/aa1b7f600e21d0ac118cff11570aa50f7a77cf31"}}}}