{"action":"created","comment":{"url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/comments/71443516","id":71443516,"diff_hunk":"@@ -0,0 +1,49 @@\n+require 'spec_helper'\n+\n+describe GapIntelligence::MerchantPricingTrendDownload do\n+  include_examples 'Record'\n+\n+  describe 'attributes' do\n+    subject(:download) { described_class.new build(:merchant_pricing_trend_download) }\n+\n+    it 'has start_at as Date' do\n+      expect(download.start_at).to be_an_instance_of(Date)\n+    end\n+\n+    it 'has end_at as Date' do\n+      expect(download.end_at).to be_an_instance_of(Date)\n+    end\n+\n+    it 'has categories as Array' do\n+      expect(download).to respond_to(:categories)\n+    end\n+\n+    it 'has countries as Array' do\n+      expect(download.countries).to be_an_instance_of(Array)\n+    end\n+\n+    it 'has merchants as Array' do\n+      expect(download.merchants).to be_an_instance_of(Array)\n+    end\n+\n+    it 'has brands as Array' do\n+      expect(download.brands).to be_an_instance_of(Array)\n+    end\n+","path":"spec/gap/models/merchant_pricing_trend_download_spec.rb","position":32,"original_position":32,"commit_id":"e812065d76828c37ff99f9b47ad213135a443448","original_commit_id":"e812065d76828c37ff99f9b47ad213135a443448","user":{"login":"shavkat-samatov","id":2798496,"avatar_url":"https://avatars.githubusercontent.com/u/2798496?v=3","gravatar_id":"","url":"https://api.github.com/users/shavkat-samatov","html_url":"https://github.com/shavkat-samatov","followers_url":"https://api.github.com/users/shavkat-samatov/followers","following_url":"https://api.github.com/users/shavkat-samatov/following{/other_user}","gists_url":"https://api.github.com/users/shavkat-samatov/gists{/gist_id}","starred_url":"https://api.github.com/users/shavkat-samatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shavkat-samatov/subscriptions","organizations_url":"https://api.github.com/users/shavkat-samatov/orgs","repos_url":"https://api.github.com/users/shavkat-samatov/repos","events_url":"https://api.github.com/users/shavkat-samatov/events{/privacy}","received_events_url":"https://api.github.com/users/shavkat-samatov/received_events","type":"User","site_admin":false},"body":"just wanted to mention that place as well so we have `specs`","created_at":"2016-07-19T23:37:14Z","updated_at":"2016-07-19T23:37:14Z","html_url":"https://github.com/GapIntelligence/gapintelligence-gem/pull/29#discussion_r71443516","pull_request_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/comments/71443516"},"html":{"href":"https://github.com/GapIntelligence/gapintelligence-gem/pull/29#discussion_r71443516"},"pull_request":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29","id":77846644,"html_url":"https://github.com/GapIntelligence/gapintelligence-gem/pull/29","diff_url":"https://github.com/GapIntelligence/gapintelligence-gem/pull/29.diff","patch_url":"https://github.com/GapIntelligence/gapintelligence-gem/pull/29.patch","issue_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/29","number":29,"state":"open","locked":false,"title":"Create MPT Download","user":{"login":"gtimti","id":292051,"avatar_url":"https://avatars.githubusercontent.com/u/292051?v=3","gravatar_id":"","url":"https://api.github.com/users/gtimti","html_url":"https://github.com/gtimti","followers_url":"https://api.github.com/users/gtimti/followers","following_url":"https://api.github.com/users/gtimti/following{/other_user}","gists_url":"https://api.github.com/users/gtimti/gists{/gist_id}","starred_url":"https://api.github.com/users/gtimti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtimti/subscriptions","organizations_url":"https://api.github.com/users/gtimti/orgs","repos_url":"https://api.github.com/users/gtimti/repos","events_url":"https://api.github.com/users/gtimti/events{/privacy}","received_events_url":"https://api.github.com/users/gtimti/received_events","type":"User","site_admin":false},"body":"This pull request adds ability to create merchant pricing trend download.","created_at":"2016-07-18T17:32:41Z","updated_at":"2016-07-19T23:37:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9d3ddb439bcb6a97afa1490fa256f7a540878d1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29/commits","review_comments_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29/comments","review_comment_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/29/comments","statuses_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/statuses/e812065d76828c37ff99f9b47ad213135a443448","head":{"label":"GapIntelligence:feature/create-mpt-download-121961799","ref":"feature/create-mpt-download-121961799","sha":"e812065d76828c37ff99f9b47ad213135a443448","user":{"login":"GapIntelligence","id":2293074,"avatar_url":"https://avatars.githubusercontent.com/u/2293074?v=3","gravatar_id":"","url":"https://api.github.com/users/GapIntelligence","html_url":"https://github.com/GapIntelligence","followers_url":"https://api.github.com/users/GapIntelligence/followers","following_url":"https://api.github.com/users/GapIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/GapIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/GapIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GapIntelligence/subscriptions","organizations_url":"https://api.github.com/users/GapIntelligence/orgs","repos_url":"https://api.github.com/users/GapIntelligence/repos","events_url":"https://api.github.com/users/GapIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/GapIntelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":16965852,"name":"gapintelligence-gem","full_name":"GapIntelligence/gapintelligence-gem","owner":{"login":"GapIntelligence","id":2293074,"avatar_url":"https://avatars.githubusercontent.com/u/2293074?v=3","gravatar_id":"","url":"https://api.github.com/users/GapIntelligence","html_url":"https://github.com/GapIntelligence","followers_url":"https://api.github.com/users/GapIntelligence/followers","following_url":"https://api.github.com/users/GapIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/GapIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/GapIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GapIntelligence/subscriptions","organizations_url":"https://api.github.com/users/GapIntelligence/orgs","repos_url":"https://api.github.com/users/GapIntelligence/repos","events_url":"https://api.github.com/users/GapIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/GapIntelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GapIntelligence/gapintelligence-gem","description":"This is a Ruby wrapper for the Gap Intelligence API at http://api.gapintelligence.com","fork":false,"url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem","forks_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/forks","keys_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/teams","hooks_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/hooks","issue_events_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/events{/number}","events_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/events","assignees_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/assignees{/user}","branches_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/branches{/branch}","tags_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/tags","blobs_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/languages","stargazers_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/stargazers","contributors_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/contributors","subscribers_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/subscribers","subscription_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/subscription","commits_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/comments{/number}","contents_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/contents/{+path}","compare_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/merges","archive_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/downloads","issues_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues{/number}","pulls_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/labels{/name}","releases_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/releases{/id}","deployments_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/deployments","created_at":"2014-02-18T22:18:41Z","updated_at":"2016-04-19T20:42:39Z","pushed_at":"2016-07-19T11:39:37Z","git_url":"git://github.com/GapIntelligence/gapintelligence-gem.git","ssh_url":"git@github.com:GapIntelligence/gapintelligence-gem.git","clone_url":"https://github.com/GapIntelligence/gapintelligence-gem.git","svn_url":"https://github.com/GapIntelligence/gapintelligence-gem","homepage":"","size":73,"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":"GapIntelligence:master","ref":"master","sha":"edd1cb4867c81920643f73f77d30d60bf74a0458","user":{"login":"GapIntelligence","id":2293074,"avatar_url":"https://avatars.githubusercontent.com/u/2293074?v=3","gravatar_id":"","url":"https://api.github.com/users/GapIntelligence","html_url":"https://github.com/GapIntelligence","followers_url":"https://api.github.com/users/GapIntelligence/followers","following_url":"https://api.github.com/users/GapIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/GapIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/GapIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GapIntelligence/subscriptions","organizations_url":"https://api.github.com/users/GapIntelligence/orgs","repos_url":"https://api.github.com/users/GapIntelligence/repos","events_url":"https://api.github.com/users/GapIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/GapIntelligence/received_events","type":"Organization","site_admin":false},"repo":{"id":16965852,"name":"gapintelligence-gem","full_name":"GapIntelligence/gapintelligence-gem","owner":{"login":"GapIntelligence","id":2293074,"avatar_url":"https://avatars.githubusercontent.com/u/2293074?v=3","gravatar_id":"","url":"https://api.github.com/users/GapIntelligence","html_url":"https://github.com/GapIntelligence","followers_url":"https://api.github.com/users/GapIntelligence/followers","following_url":"https://api.github.com/users/GapIntelligence/following{/other_user}","gists_url":"https://api.github.com/users/GapIntelligence/gists{/gist_id}","starred_url":"https://api.github.com/users/GapIntelligence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GapIntelligence/subscriptions","organizations_url":"https://api.github.com/users/GapIntelligence/orgs","repos_url":"https://api.github.com/users/GapIntelligence/repos","events_url":"https://api.github.com/users/GapIntelligence/events{/privacy}","received_events_url":"https://api.github.com/users/GapIntelligence/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GapIntelligence/gapintelligence-gem","description":"This is a Ruby wrapper for the Gap Intelligence API at http://api.gapintelligence.com","fork":false,"url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem","forks_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/forks","keys_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/teams","hooks_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/hooks","issue_events_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/events{/number}","events_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/events","assignees_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/assignees{/user}","branches_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/branches{/branch}","tags_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/tags","blobs_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/refs{/sha}","trees_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/statuses/{sha}","languages_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/languages","stargazers_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/stargazers","contributors_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/contributors","subscribers_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/subscribers","subscription_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/subscription","commits_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/commits{/sha}","git_commits_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/git/commits{/sha}","comments_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/comments{/number}","issue_comment_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/comments{/number}","contents_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/contents/{+path}","compare_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/merges","archive_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/downloads","issues_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues{/number}","pulls_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls{/number}","milestones_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/milestones{/number}","notifications_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/labels{/name}","releases_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/releases{/id}","deployments_url":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/deployments","created_at":"2014-02-18T22:18:41Z","updated_at":"2016-04-19T20:42:39Z","pushed_at":"2016-07-19T11:39:37Z","git_url":"git://github.com/GapIntelligence/gapintelligence-gem.git","ssh_url":"git@github.com:GapIntelligence/gapintelligence-gem.git","clone_url":"https://github.com/GapIntelligence/gapintelligence-gem.git","svn_url":"https://github.com/GapIntelligence/gapintelligence-gem","homepage":"","size":73,"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/GapIntelligence/gapintelligence-gem/pulls/29"},"html":{"href":"https://github.com/GapIntelligence/gapintelligence-gem/pull/29"},"issue":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/29"},"comments":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/GapIntelligence/gapintelligence-gem/statuses/e812065d76828c37ff99f9b47ad213135a443448"}}}}
{"actor":{"display_login":"shavkat-samatov"}}