{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/6","id":31119425,"html_url":"https://github.com/alphagov/govuk-content-schema-test-helpers/pull/6","diff_url":"https://github.com/alphagov/govuk-content-schema-test-helpers/pull/6.diff","patch_url":"https://github.com/alphagov/govuk-content-schema-test-helpers/pull/6.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/6","number":6,"state":"open","locked":false,"title":"Avoid a deprecation warning on RSpec 3.2","user":{"login":"jamiecobbett","id":93739,"avatar_url":"https://avatars.githubusercontent.com/u/93739?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiecobbett","html_url":"https://github.com/jamiecobbett","followers_url":"https://api.github.com/users/jamiecobbett/followers","following_url":"https://api.github.com/users/jamiecobbett/following{/other_user}","gists_url":"https://api.github.com/users/jamiecobbett/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiecobbett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiecobbett/subscriptions","organizations_url":"https://api.github.com/users/jamiecobbett/orgs","repos_url":"https://api.github.com/users/jamiecobbett/repos","events_url":"https://api.github.com/users/jamiecobbett/events{/privacy}","received_events_url":"https://api.github.com/users/jamiecobbett/received_events","type":"User","site_admin":false},"body":"RSpec::Matchers are part of the rspec-expectations gem, so I used that for\r\ninspecting the version.\r\n\r\nTested successfully with policy-publisher (RSpec 3.2) and contacts-admin (RSpec 2.14).","created_at":"2015-03-13T11:49:38Z","updated_at":"2015-03-13T11:49:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/6/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/6/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/6/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/statuses/fb417413124ac4d4157657b68205e5a1f9b9a777","head":{"label":"alphagov:avoid_deprecation_warning_on_rspec_3-2","ref":"avoid_deprecation_warning_on_rspec_3-2","sha":"fb417413124ac4d4157657b68205e5a1f9b9a777","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":31951343,"name":"govuk-content-schema-test-helpers","full_name":"alphagov/govuk-content-schema-test-helpers","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-content-schema-test-helpers","description":"Test helpers for working with GOV.UK content schemas","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers","forks_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/releases{/id}","created_at":"2015-03-10T10:26:54Z","updated_at":"2015-03-13T11:20:43Z","pushed_at":"2015-03-13T11:44:31Z","git_url":"git://github.com/alphagov/govuk-content-schema-test-helpers.git","ssh_url":"git@github.com:alphagov/govuk-content-schema-test-helpers.git","clone_url":"https://github.com/alphagov/govuk-content-schema-test-helpers.git","svn_url":"https://github.com/alphagov/govuk-content-schema-test-helpers","homepage":null,"size":0,"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":"alphagov:master","ref":"master","sha":"7473ef769d8d5afe9415711a31d31c0c380ef32c","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":31951343,"name":"govuk-content-schema-test-helpers","full_name":"alphagov/govuk-content-schema-test-helpers","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-content-schema-test-helpers","description":"Test helpers for working with GOV.UK content schemas","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers","forks_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/releases{/id}","created_at":"2015-03-10T10:26:54Z","updated_at":"2015-03-13T11:20:43Z","pushed_at":"2015-03-13T11:44:31Z","git_url":"git://github.com/alphagov/govuk-content-schema-test-helpers.git","ssh_url":"git@github.com:alphagov/govuk-content-schema-test-helpers.git","clone_url":"https://github.com/alphagov/govuk-content-schema-test-helpers.git","svn_url":"https://github.com/alphagov/govuk-content-schema-test-helpers","homepage":null,"size":0,"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/alphagov/govuk-content-schema-test-helpers/pulls/6"},"html":{"href":"https://github.com/alphagov/govuk-content-schema-test-helpers/pull/6"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/6"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-content-schema-test-helpers/statuses/fb417413124ac4d4157657b68205e5a1f9b9a777"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":4,"changed_files":1}}