{"action":"created","comment":{"url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments/93867770","pull_request_review_id":14400716,"id":93867770,"diff_hunk":"@@ -23,6 +28,26 @@\n     end\n   end\n \n+  describe 'chronology' do\n+    subject { FactoryGirl.build(:conference) }\n+\n+    context 'when the dates are in the right order' do\n+      it 'is valid' do\n+        subject.starts_on = '2016-11-20'\n+        subject.ends_on = '2016-11-21'\n+        expect(subject).to be_valid\n+      end\n+    end\n+\n+    context 'when its end date is before start date' do\n+      it 'is invalid' do\n+        subject.starts_on = '2016-07-15'\n+        subject.ends_on = '2016-07-07'\n+        expect(subject).not_to be_valid\n+      end\n+    end","path":"spec/models/conference_spec.rb","position":41,"original_position":41,"commit_id":"cbcad40d924ffd67afe602db4e36c7d4efd7ab1b","original_commit_id":"cbcad40d924ffd67afe602db4e36c7d4efd7ab1b","user":{"login":"carpodaster","id":164400,"avatar_url":"https://avatars.githubusercontent.com/u/164400?v=3","gravatar_id":"","url":"https://api.github.com/users/carpodaster","html_url":"https://github.com/carpodaster","followers_url":"https://api.github.com/users/carpodaster/followers","following_url":"https://api.github.com/users/carpodaster/following{/other_user}","gists_url":"https://api.github.com/users/carpodaster/gists{/gist_id}","starred_url":"https://api.github.com/users/carpodaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carpodaster/subscriptions","organizations_url":"https://api.github.com/users/carpodaster/orgs","repos_url":"https://api.github.com/users/carpodaster/repos","events_url":"https://api.github.com/users/carpodaster/events{/privacy}","received_events_url":"https://api.github.com/users/carpodaster/received_events","type":"User","site_admin":false},"body":"We need two more tests to be complete: where either `starts_on` and `ends_on` is not set.","created_at":"2016-12-26T13:36:33Z","updated_at":"2016-12-26T13:38:15Z","html_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/552#discussion_r93867770","pull_request_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552","_links":{"self":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments/93867770"},"html":{"href":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/552#discussion_r93867770"},"pull_request":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552"}}},"pull_request":{"url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552","id":93453085,"html_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/552","diff_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/552.diff","patch_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/552.patch","issue_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/552","number":552,"state":"open","locked":false,"title":"FIX Add date validator to Conferences ","user":{"login":"F3PiX","id":6314687,"avatar_url":"https://avatars.githubusercontent.com/u/6314687?v=3","gravatar_id":"","url":"https://api.github.com/users/F3PiX","html_url":"https://github.com/F3PiX","followers_url":"https://api.github.com/users/F3PiX/followers","following_url":"https://api.github.com/users/F3PiX/following{/other_user}","gists_url":"https://api.github.com/users/F3PiX/gists{/gist_id}","starred_url":"https://api.github.com/users/F3PiX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/F3PiX/subscriptions","organizations_url":"https://api.github.com/users/F3PiX/orgs","repos_url":"https://api.github.com/users/F3PiX/repos","events_url":"https://api.github.com/users/F3PiX/events{/privacy}","received_events_url":"https://api.github.com/users/F3PiX/received_events","type":"User","site_admin":false},"body":"Closes #503 ","created_at":"2016-11-12T21:45:19Z","updated_at":"2016-12-26T13:38:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82d24a6ef6c1049bc21b154af2732b547ae88f8b","assignee":{"login":"carpodaster","id":164400,"avatar_url":"https://avatars.githubusercontent.com/u/164400?v=3","gravatar_id":"","url":"https://api.github.com/users/carpodaster","html_url":"https://github.com/carpodaster","followers_url":"https://api.github.com/users/carpodaster/followers","following_url":"https://api.github.com/users/carpodaster/following{/other_user}","gists_url":"https://api.github.com/users/carpodaster/gists{/gist_id}","starred_url":"https://api.github.com/users/carpodaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carpodaster/subscriptions","organizations_url":"https://api.github.com/users/carpodaster/orgs","repos_url":"https://api.github.com/users/carpodaster/repos","events_url":"https://api.github.com/users/carpodaster/events{/privacy}","received_events_url":"https://api.github.com/users/carpodaster/received_events","type":"User","site_admin":false},"assignees":[{"login":"carpodaster","id":164400,"avatar_url":"https://avatars.githubusercontent.com/u/164400?v=3","gravatar_id":"","url":"https://api.github.com/users/carpodaster","html_url":"https://github.com/carpodaster","followers_url":"https://api.github.com/users/carpodaster/followers","following_url":"https://api.github.com/users/carpodaster/following{/other_user}","gists_url":"https://api.github.com/users/carpodaster/gists{/gist_id}","starred_url":"https://api.github.com/users/carpodaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carpodaster/subscriptions","organizations_url":"https://api.github.com/users/carpodaster/orgs","repos_url":"https://api.github.com/users/carpodaster/repos","events_url":"https://api.github.com/users/carpodaster/events{/privacy}","received_events_url":"https://api.github.com/users/carpodaster/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552/commits","review_comments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552/comments","review_comment_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/552/comments","statuses_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/statuses/cbcad40d924ffd67afe602db4e36c7d4efd7ab1b","head":{"label":"TeamCheesy:conf-dates","ref":"conf-dates","sha":"cbcad40d924ffd67afe602db4e36c7d4efd7ab1b","user":{"login":"TeamCheesy","id":12716832,"avatar_url":"https://avatars.githubusercontent.com/u/12716832?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamCheesy","html_url":"https://github.com/TeamCheesy","followers_url":"https://api.github.com/users/TeamCheesy/followers","following_url":"https://api.github.com/users/TeamCheesy/following{/other_user}","gists_url":"https://api.github.com/users/TeamCheesy/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamCheesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamCheesy/subscriptions","organizations_url":"https://api.github.com/users/TeamCheesy/orgs","repos_url":"https://api.github.com/users/TeamCheesy/repos","events_url":"https://api.github.com/users/TeamCheesy/events{/privacy}","received_events_url":"https://api.github.com/users/TeamCheesy/received_events","type":"Organization","site_admin":false},"repo":{"id":38422803,"name":"rgsoc-teams","full_name":"TeamCheesy/rgsoc-teams","owner":{"login":"TeamCheesy","id":12716832,"avatar_url":"https://avatars.githubusercontent.com/u/12716832?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamCheesy","html_url":"https://github.com/TeamCheesy","followers_url":"https://api.github.com/users/TeamCheesy/followers","following_url":"https://api.github.com/users/TeamCheesy/following{/other_user}","gists_url":"https://api.github.com/users/TeamCheesy/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamCheesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamCheesy/subscriptions","organizations_url":"https://api.github.com/users/TeamCheesy/orgs","repos_url":"https://api.github.com/users/TeamCheesy/repos","events_url":"https://api.github.com/users/TeamCheesy/events{/privacy}","received_events_url":"https://api.github.com/users/TeamCheesy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TeamCheesy/rgsoc-teams","description":"Teams management and activity ","fork":true,"url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams","forks_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/forks","keys_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/teams","hooks_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/hooks","issue_events_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/issues/events{/number}","events_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/events","assignees_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/assignees{/user}","branches_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/branches{/branch}","tags_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/tags","blobs_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/statuses/{sha}","languages_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/languages","stargazers_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/stargazers","contributors_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/contributors","subscribers_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/subscribers","subscription_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/subscription","commits_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/contents/{+path}","compare_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/merges","archive_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/downloads","issues_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/issues{/number}","pulls_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/pulls{/number}","milestones_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/milestones{/number}","notifications_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/labels{/name}","releases_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/releases{/id}","deployments_url":"https://api.github.com/repos/TeamCheesy/rgsoc-teams/deployments","created_at":"2015-07-02T09:11:44Z","updated_at":"2016-11-12T19:24:07Z","pushed_at":"2016-12-19T20:09:35Z","git_url":"git://github.com/TeamCheesy/rgsoc-teams.git","ssh_url":"git@github.com:TeamCheesy/rgsoc-teams.git","clone_url":"https://github.com/TeamCheesy/rgsoc-teams.git","svn_url":"https://github.com/TeamCheesy/rgsoc-teams","homepage":null,"size":3889,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"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":1,"default_branch":"master"}},"base":{"label":"rails-girls-summer-of-code:master","ref":"master","sha":"6fb1b292fe59c6e2c45e6f88bd10be8d2b25fd28","user":{"login":"rails-girls-summer-of-code","id":4704447,"avatar_url":"https://avatars.githubusercontent.com/u/4704447?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-girls-summer-of-code","html_url":"https://github.com/rails-girls-summer-of-code","followers_url":"https://api.github.com/users/rails-girls-summer-of-code/followers","following_url":"https://api.github.com/users/rails-girls-summer-of-code/following{/other_user}","gists_url":"https://api.github.com/users/rails-girls-summer-of-code/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-girls-summer-of-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-girls-summer-of-code/subscriptions","organizations_url":"https://api.github.com/users/rails-girls-summer-of-code/orgs","repos_url":"https://api.github.com/users/rails-girls-summer-of-code/repos","events_url":"https://api.github.com/users/rails-girls-summer-of-code/events{/privacy}","received_events_url":"https://api.github.com/users/rails-girls-summer-of-code/received_events","type":"Organization","site_admin":false},"repo":{"id":10705327,"name":"rgsoc-teams","full_name":"rails-girls-summer-of-code/rgsoc-teams","owner":{"login":"rails-girls-summer-of-code","id":4704447,"avatar_url":"https://avatars.githubusercontent.com/u/4704447?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-girls-summer-of-code","html_url":"https://github.com/rails-girls-summer-of-code","followers_url":"https://api.github.com/users/rails-girls-summer-of-code/followers","following_url":"https://api.github.com/users/rails-girls-summer-of-code/following{/other_user}","gists_url":"https://api.github.com/users/rails-girls-summer-of-code/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-girls-summer-of-code/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-girls-summer-of-code/subscriptions","organizations_url":"https://api.github.com/users/rails-girls-summer-of-code/orgs","repos_url":"https://api.github.com/users/rails-girls-summer-of-code/repos","events_url":"https://api.github.com/users/rails-girls-summer-of-code/events{/privacy}","received_events_url":"https://api.github.com/users/rails-girls-summer-of-code/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams","description":"Teams management and activity ","fork":false,"url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams","forks_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/forks","keys_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/teams","hooks_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/hooks","issue_events_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/events{/number}","events_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/events","assignees_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/assignees{/user}","branches_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/branches{/branch}","tags_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/tags","blobs_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/statuses/{sha}","languages_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/languages","stargazers_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/stargazers","contributors_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/contributors","subscribers_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/subscribers","subscription_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/subscription","commits_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/contents/{+path}","compare_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/merges","archive_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/downloads","issues_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues{/number}","pulls_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls{/number}","milestones_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/milestones{/number}","notifications_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/labels{/name}","releases_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/releases{/id}","deployments_url":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/deployments","created_at":"2013-06-15T11:13:22Z","updated_at":"2016-12-01T15:06:21Z","pushed_at":"2016-12-19T20:11:05Z","git_url":"git://github.com/rails-girls-summer-of-code/rgsoc-teams.git","ssh_url":"git@github.com:rails-girls-summer-of-code/rgsoc-teams.git","clone_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams.git","svn_url":"https://github.com/rails-girls-summer-of-code/rgsoc-teams","homepage":"https://teams.railsgirlssummerofcode.org","size":3887,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":49,"forks":57,"open_issues":49,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552"},"html":{"href":"https://github.com/rails-girls-summer-of-code/rgsoc-teams/pull/552"},"issue":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/552"},"comments":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/issues/552/comments"},"review_comments":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552/comments"},"review_comment":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/pulls/552/commits"},"statuses":{"href":"https://api.github.com/repos/rails-girls-summer-of-code/rgsoc-teams/statuses/cbcad40d924ffd67afe602db4e36c7d4efd7ab1b"}}}}
{"actor":{"display_login":"carpodaster"}}