{"action":"opened","issue":{"url":"https://api.github.com/repos/EastAgile/robber.py/issues/5","repository_url":"https://api.github.com/repos/EastAgile/robber.py","labels_url":"https://api.github.com/repos/EastAgile/robber.py/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/EastAgile/robber.py/issues/5/comments","events_url":"https://api.github.com/repos/EastAgile/robber.py/issues/5/events","html_url":"https://github.com/EastAgile/robber.py/issues/5","id":183368716,"number":5,"title":"change, increase, decrease matchers","user":{"login":"hieueastagile","id":10395094,"avatar_url":"https://avatars.githubusercontent.com/u/10395094?v=3","gravatar_id":"","url":"https://api.github.com/users/hieueastagile","html_url":"https://github.com/hieueastagile","followers_url":"https://api.github.com/users/hieueastagile/followers","following_url":"https://api.github.com/users/hieueastagile/following{/other_user}","gists_url":"https://api.github.com/users/hieueastagile/gists{/gist_id}","starred_url":"https://api.github.com/users/hieueastagile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hieueastagile/subscriptions","organizations_url":"https://api.github.com/users/hieueastagile/orgs","repos_url":"https://api.github.com/users/hieueastagile/repos","events_url":"https://api.github.com/users/hieueastagile/events{/privacy}","received_events_url":"https://api.github.com/users/hieueastagile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T09:36:03Z","updated_at":"2016-10-17T09:36:03Z","closed_at":null,"body":"# Use case\r\nExample, we have a function\r\n```python\r\ndef decrease_it(a):\r\n  return a - 1\r\n```\r\n\r\nWe might want to test it, and here's a few possible matchers that we might want to use\r\n```python\r\nexpect(decrease_it).to.change(a).from(2).to(1)\r\nexpect(decrease_it).to.decrease(a).by(1)\r\nexpect(decrease_it).to.increase(a).by(-1)\r\n```"}}
{"actor":{"display_login":"hieueastagile"}}