{"action":"created","comment":{"url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/comments/26005954","id":26005954,"diff_hunk":"@@ -0,0 +1,20 @@\n+require \"carrierwave/test/matchers\"\n+require \"rails_helper\"\n+describe PhotoUploader do\n+  include CarrierWave::Test::Matchers\n+  before do\n+    PhotoUploader.enable_processing = true\n+    @card = Card.new(user_id: 1)\n+    @uploader = PhotoUploader.new(@card, :remote_photo_url)\n+    @uploader.store!(File.open(\"#{Rails.root}/spec/support/files/smile.jpg\"))\n+  end\n+  after do\n+    PhotoUploader.enable_processing = false\n+    @uploader.remove!\n+  end\n+  context 'the small version' do","path":"spec/models/photo_uploader_spec.rb","position":15,"original_position":15,"commit_id":"ae73e0dae3a3f444985d5e2c77f71d56533f3b10","original_commit_id":"ae73e0dae3a3f444985d5e2c77f71d56533f3b10","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-03-08T15:24:05Z","updated_at":"2015-03-08T15:24:05Z","html_url":"https://github.com/Kinnarts/Flashcards/pull/20#discussion_r26005954","pull_request_url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/comments/26005954"},"html":{"href":"https://github.com/Kinnarts/Flashcards/pull/20#discussion_r26005954"},"pull_request":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20","id":30702199,"html_url":"https://github.com/Kinnarts/Flashcards/pull/20","diff_url":"https://github.com/Kinnarts/Flashcards/pull/20.diff","patch_url":"https://github.com/Kinnarts/Flashcards/pull/20.patch","issue_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues/20","number":20,"state":"open","locked":false,"title":"Carrierwave with tests","user":{"login":"Kinnarts","id":8616074,"avatar_url":"https://avatars.githubusercontent.com/u/8616074?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinnarts","html_url":"https://github.com/Kinnarts","followers_url":"https://api.github.com/users/Kinnarts/followers","following_url":"https://api.github.com/users/Kinnarts/following{/other_user}","gists_url":"https://api.github.com/users/Kinnarts/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinnarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinnarts/subscriptions","organizations_url":"https://api.github.com/users/Kinnarts/orgs","repos_url":"https://api.github.com/users/Kinnarts/repos","events_url":"https://api.github.com/users/Kinnarts/events{/privacy}","received_events_url":"https://api.github.com/users/Kinnarts/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-07T12:36:10Z","updated_at":"2015-03-08T15:24:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39b250b4fa85dcafdcfa979ac48754628f1c3783","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20/commits","review_comments_url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20/comments","review_comment_url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues/20/comments","statuses_url":"https://api.github.com/repos/Kinnarts/Flashcards/statuses/ae73e0dae3a3f444985d5e2c77f71d56533f3b10","head":{"label":"Kinnarts:19-photo-with-carrierwave","ref":"19-photo-with-carrierwave","sha":"ae73e0dae3a3f444985d5e2c77f71d56533f3b10","user":{"login":"Kinnarts","id":8616074,"avatar_url":"https://avatars.githubusercontent.com/u/8616074?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinnarts","html_url":"https://github.com/Kinnarts","followers_url":"https://api.github.com/users/Kinnarts/followers","following_url":"https://api.github.com/users/Kinnarts/following{/other_user}","gists_url":"https://api.github.com/users/Kinnarts/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinnarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinnarts/subscriptions","organizations_url":"https://api.github.com/users/Kinnarts/orgs","repos_url":"https://api.github.com/users/Kinnarts/repos","events_url":"https://api.github.com/users/Kinnarts/events{/privacy}","received_events_url":"https://api.github.com/users/Kinnarts/received_events","type":"User","site_admin":false},"repo":{"id":31166417,"name":"Flashcards","full_name":"Kinnarts/Flashcards","owner":{"login":"Kinnarts","id":8616074,"avatar_url":"https://avatars.githubusercontent.com/u/8616074?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinnarts","html_url":"https://github.com/Kinnarts","followers_url":"https://api.github.com/users/Kinnarts/followers","following_url":"https://api.github.com/users/Kinnarts/following{/other_user}","gists_url":"https://api.github.com/users/Kinnarts/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinnarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinnarts/subscriptions","organizations_url":"https://api.github.com/users/Kinnarts/orgs","repos_url":"https://api.github.com/users/Kinnarts/repos","events_url":"https://api.github.com/users/Kinnarts/events{/privacy}","received_events_url":"https://api.github.com/users/Kinnarts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kinnarts/Flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Kinnarts/Flashcards","forks_url":"https://api.github.com/repos/Kinnarts/Flashcards/forks","keys_url":"https://api.github.com/repos/Kinnarts/Flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinnarts/Flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinnarts/Flashcards/teams","hooks_url":"https://api.github.com/repos/Kinnarts/Flashcards/hooks","issue_events_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Kinnarts/Flashcards/events","assignees_url":"https://api.github.com/repos/Kinnarts/Flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Kinnarts/Flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Kinnarts/Flashcards/tags","blobs_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinnarts/Flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinnarts/Flashcards/languages","stargazers_url":"https://api.github.com/repos/Kinnarts/Flashcards/stargazers","contributors_url":"https://api.github.com/repos/Kinnarts/Flashcards/contributors","subscribers_url":"https://api.github.com/repos/Kinnarts/Flashcards/subscribers","subscription_url":"https://api.github.com/repos/Kinnarts/Flashcards/subscription","commits_url":"https://api.github.com/repos/Kinnarts/Flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinnarts/Flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinnarts/Flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Kinnarts/Flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinnarts/Flashcards/merges","archive_url":"https://api.github.com/repos/Kinnarts/Flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinnarts/Flashcards/downloads","issues_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinnarts/Flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinnarts/Flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinnarts/Flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Kinnarts/Flashcards/releases{/id}","created_at":"2015-02-22T15:00:08Z","updated_at":"2015-03-07T10:29:16Z","pushed_at":"2015-03-08T15:24:02Z","git_url":"git://github.com/Kinnarts/Flashcards.git","ssh_url":"git@github.com:Kinnarts/Flashcards.git","clone_url":"https://github.com/Kinnarts/Flashcards.git","svn_url":"https://github.com/Kinnarts/Flashcards","homepage":null,"size":544,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"Kinnarts:develop","ref":"develop","sha":"a57eee9570d014b1161b6ede23e3883fa6a3ef67","user":{"login":"Kinnarts","id":8616074,"avatar_url":"https://avatars.githubusercontent.com/u/8616074?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinnarts","html_url":"https://github.com/Kinnarts","followers_url":"https://api.github.com/users/Kinnarts/followers","following_url":"https://api.github.com/users/Kinnarts/following{/other_user}","gists_url":"https://api.github.com/users/Kinnarts/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinnarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinnarts/subscriptions","organizations_url":"https://api.github.com/users/Kinnarts/orgs","repos_url":"https://api.github.com/users/Kinnarts/repos","events_url":"https://api.github.com/users/Kinnarts/events{/privacy}","received_events_url":"https://api.github.com/users/Kinnarts/received_events","type":"User","site_admin":false},"repo":{"id":31166417,"name":"Flashcards","full_name":"Kinnarts/Flashcards","owner":{"login":"Kinnarts","id":8616074,"avatar_url":"https://avatars.githubusercontent.com/u/8616074?v=3","gravatar_id":"","url":"https://api.github.com/users/Kinnarts","html_url":"https://github.com/Kinnarts","followers_url":"https://api.github.com/users/Kinnarts/followers","following_url":"https://api.github.com/users/Kinnarts/following{/other_user}","gists_url":"https://api.github.com/users/Kinnarts/gists{/gist_id}","starred_url":"https://api.github.com/users/Kinnarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kinnarts/subscriptions","organizations_url":"https://api.github.com/users/Kinnarts/orgs","repos_url":"https://api.github.com/users/Kinnarts/repos","events_url":"https://api.github.com/users/Kinnarts/events{/privacy}","received_events_url":"https://api.github.com/users/Kinnarts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kinnarts/Flashcards","description":"","fork":false,"url":"https://api.github.com/repos/Kinnarts/Flashcards","forks_url":"https://api.github.com/repos/Kinnarts/Flashcards/forks","keys_url":"https://api.github.com/repos/Kinnarts/Flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kinnarts/Flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kinnarts/Flashcards/teams","hooks_url":"https://api.github.com/repos/Kinnarts/Flashcards/hooks","issue_events_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Kinnarts/Flashcards/events","assignees_url":"https://api.github.com/repos/Kinnarts/Flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Kinnarts/Flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Kinnarts/Flashcards/tags","blobs_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kinnarts/Flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Kinnarts/Flashcards/languages","stargazers_url":"https://api.github.com/repos/Kinnarts/Flashcards/stargazers","contributors_url":"https://api.github.com/repos/Kinnarts/Flashcards/contributors","subscribers_url":"https://api.github.com/repos/Kinnarts/Flashcards/subscribers","subscription_url":"https://api.github.com/repos/Kinnarts/Flashcards/subscription","commits_url":"https://api.github.com/repos/Kinnarts/Flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kinnarts/Flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kinnarts/Flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kinnarts/Flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Kinnarts/Flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kinnarts/Flashcards/merges","archive_url":"https://api.github.com/repos/Kinnarts/Flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kinnarts/Flashcards/downloads","issues_url":"https://api.github.com/repos/Kinnarts/Flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Kinnarts/Flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Kinnarts/Flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Kinnarts/Flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kinnarts/Flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Kinnarts/Flashcards/releases{/id}","created_at":"2015-02-22T15:00:08Z","updated_at":"2015-03-07T10:29:16Z","pushed_at":"2015-03-08T15:24:02Z","git_url":"git://github.com/Kinnarts/Flashcards.git","ssh_url":"git@github.com:Kinnarts/Flashcards.git","clone_url":"https://github.com/Kinnarts/Flashcards.git","svn_url":"https://github.com/Kinnarts/Flashcards","homepage":null,"size":544,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20"},"html":{"href":"https://github.com/Kinnarts/Flashcards/pull/20"},"issue":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/issues/20"},"comments":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/Kinnarts/Flashcards/statuses/ae73e0dae3a3f444985d5e2c77f71d56533f3b10"}}}}