{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/65861642","id":65861642,"diff_hunk":"@@ -0,0 +1,58 @@\n+require 'calculator'\n+\n+describe Calculator do\n+  let(:order) { double :order }\n+  subject(:calculator) { described_class.new({'oreo' => 1}) }\n+\n+  describe 'initialize' do\n+    it 'accepts one argument'do\n+      expect{Calculator.new(order)}.not_to raise_error\n+    end\n+  end\n+\n+  describe 'responds_to' do\n+    it { is_expected.to respond_to(:summerize)}\n+    it { is_expected.to respond_to(:sum_price)}\n+    # it { is_expected.to respond_to(:sum_quantity)}\n+  end\n+\n+  describe '#sum_price' do\n+    context 'when one oreo costing £3 is inputted' do\n+      it 'should sum to 3' do\n+        expect(calculator.sum_price).to eq 3\n+      end\n+    end\n+    context 'when two oreo costing £3 is inputted' do\n+      subject(:calculator) { described_class.new({'oreo' => 2}) }","path":"spec/calculator_spec.rb","position":26,"original_position":26,"commit_id":"00b343c5f3f50fa364cc6572fc0cd5bda8cd1898","original_commit_id":"00b343c5f3f50fa364cc6572fc0cd5bda8cd1898","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/BracesAroundHashParameters: Redundant curly braces around a hash parameter.","created_at":"2016-06-06T09:33:10Z","updated_at":"2016-06-06T09:33:10Z","html_url":"https://github.com/makersacademy/takeaway-challenge/pull/413#discussion_r65861642","pull_request_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments/65861642"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/413#discussion_r65861642"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413","id":72680381,"html_url":"https://github.com/makersacademy/takeaway-challenge/pull/413","diff_url":"https://github.com/makersacademy/takeaway-challenge/pull/413.diff","patch_url":"https://github.com/makersacademy/takeaway-challenge/pull/413.patch","issue_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/413","number":413,"state":"open","locked":false,"title":"Latest version","user":{"login":"lomlo","id":17550169,"avatar_url":"https://avatars.githubusercontent.com/u/17550169?v=3","gravatar_id":"","url":"https://api.github.com/users/lomlo","html_url":"https://github.com/lomlo","followers_url":"https://api.github.com/users/lomlo/followers","following_url":"https://api.github.com/users/lomlo/following{/other_user}","gists_url":"https://api.github.com/users/lomlo/gists{/gist_id}","starred_url":"https://api.github.com/users/lomlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lomlo/subscriptions","organizations_url":"https://api.github.com/users/lomlo/orgs","repos_url":"https://api.github.com/users/lomlo/repos","events_url":"https://api.github.com/users/lomlo/events{/privacy}","received_events_url":"https://api.github.com/users/lomlo/received_events","type":"User","site_admin":false},"body":"deleted previous pull request - blocking user information","created_at":"2016-06-06T09:33:02Z","updated_at":"2016-06-06T09:33:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77fc30578e0ee4539140142a3471913657d6f0e2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413/commits","review_comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413/comments","review_comment_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/413/comments","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/00b343c5f3f50fa364cc6572fc0cd5bda8cd1898","head":{"label":"lomlo:latest-version","ref":"latest-version","sha":"00b343c5f3f50fa364cc6572fc0cd5bda8cd1898","user":{"login":"lomlo","id":17550169,"avatar_url":"https://avatars.githubusercontent.com/u/17550169?v=3","gravatar_id":"","url":"https://api.github.com/users/lomlo","html_url":"https://github.com/lomlo","followers_url":"https://api.github.com/users/lomlo/followers","following_url":"https://api.github.com/users/lomlo/following{/other_user}","gists_url":"https://api.github.com/users/lomlo/gists{/gist_id}","starred_url":"https://api.github.com/users/lomlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lomlo/subscriptions","organizations_url":"https://api.github.com/users/lomlo/orgs","repos_url":"https://api.github.com/users/lomlo/repos","events_url":"https://api.github.com/users/lomlo/events{/privacy}","received_events_url":"https://api.github.com/users/lomlo/received_events","type":"User","site_admin":false},"repo":{"id":60358545,"name":"takeaway-challenge","full_name":"lomlo/takeaway-challenge","owner":{"login":"lomlo","id":17550169,"avatar_url":"https://avatars.githubusercontent.com/u/17550169?v=3","gravatar_id":"","url":"https://api.github.com/users/lomlo","html_url":"https://github.com/lomlo","followers_url":"https://api.github.com/users/lomlo/followers","following_url":"https://api.github.com/users/lomlo/following{/other_user}","gists_url":"https://api.github.com/users/lomlo/gists{/gist_id}","starred_url":"https://api.github.com/users/lomlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lomlo/subscriptions","organizations_url":"https://api.github.com/users/lomlo/orgs","repos_url":"https://api.github.com/users/lomlo/repos","events_url":"https://api.github.com/users/lomlo/events{/privacy}","received_events_url":"https://api.github.com/users/lomlo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lomlo/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":true,"url":"https://api.github.com/repos/lomlo/takeaway-challenge","forks_url":"https://api.github.com/repos/lomlo/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/lomlo/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lomlo/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lomlo/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/lomlo/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/lomlo/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/lomlo/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/lomlo/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/lomlo/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/lomlo/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/lomlo/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lomlo/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lomlo/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/lomlo/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lomlo/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/lomlo/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/lomlo/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/lomlo/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/lomlo/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/lomlo/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/lomlo/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/lomlo/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/lomlo/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/lomlo/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/lomlo/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/lomlo/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lomlo/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/lomlo/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lomlo/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/lomlo/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/lomlo/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/lomlo/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/lomlo/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lomlo/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/lomlo/takeaway-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/lomlo/takeaway-challenge/deployments","created_at":"2016-06-03T15:32:37Z","updated_at":"2016-06-03T15:32:38Z","pushed_at":"2016-06-06T09:31:06Z","git_url":"git://github.com/lomlo/takeaway-challenge.git","ssh_url":"git@github.com:lomlo/takeaway-challenge.git","clone_url":"https://github.com/lomlo/takeaway-challenge.git","svn_url":"https://github.com/lomlo/takeaway-challenge","homepage":null,"size":79,"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":"makersacademy:master","ref":"master","sha":"cad2da67c05e69886ec0599aeee6718af4569213","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":27006189,"name":"takeaway-challenge","full_name":"makersacademy/takeaway-challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/takeaway-challenge","description":"Use the Twilio Gem to order food","fork":false,"url":"https://api.github.com/repos/makersacademy/takeaway-challenge","forks_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/releases{/id}","deployments_url":"https://api.github.com/repos/makersacademy/takeaway-challenge/deployments","created_at":"2014-11-22T17:19:46Z","updated_at":"2016-04-29T19:25:54Z","pushed_at":"2016-06-06T09:33:02Z","git_url":"git://github.com/makersacademy/takeaway-challenge.git","ssh_url":"git@github.com:makersacademy/takeaway-challenge.git","clone_url":"https://github.com/makersacademy/takeaway-challenge.git","svn_url":"https://github.com/makersacademy/takeaway-challenge","homepage":null,"size":5098,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":367,"mirror_url":null,"open_issues_count":49,"forks":367,"open_issues":49,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413"},"html":{"href":"https://github.com/makersacademy/takeaway-challenge/pull/413"},"issue":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/413"},"comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/pulls/413/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/takeaway-challenge/statuses/00b343c5f3f50fa364cc6572fc0cd5bda8cd1898"}}}}
{"actor":{"display_login":"houndci-bot"}}