{"action":"closed","issue":{"url":"https://api.github.com/repos/debitoor/chai-subset/issues/13","labels_url":"https://api.github.com/repos/debitoor/chai-subset/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/debitoor/chai-subset/issues/13/comments","events_url":"https://api.github.com/repos/debitoor/chai-subset/issues/13/events","html_url":"https://github.com/debitoor/chai-subset/issues/13","id":103582592,"number":13,"title":"using with chai assert","user":{"login":"cassus","id":316826,"avatar_url":"https://avatars.githubusercontent.com/u/316826?v=3","gravatar_id":"","url":"https://api.github.com/users/cassus","html_url":"https://github.com/cassus","followers_url":"https://api.github.com/users/cassus/followers","following_url":"https://api.github.com/users/cassus/following{/other_user}","gists_url":"https://api.github.com/users/cassus/gists{/gist_id}","starred_url":"https://api.github.com/users/cassus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassus/subscriptions","organizations_url":"https://api.github.com/users/cassus/orgs","repos_url":"https://api.github.com/users/cassus/repos","events_url":"https://api.github.com/users/cassus/events{/privacy}","received_events_url":"https://api.github.com/users/cassus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-27T19:56:54Z","updated_at":"2015-08-29T23:36:29Z","closed_at":"2015-08-29T23:36:29Z","body":"I'd like to use ```assert.containSubset``` or something similar using the assert chai interface and not the _should_ or _expect_.\r\n\r\nI found this workaround.\r\n\r\n```\r\nchai.assert.containSubset = function(val, exp, msg) {\r\n    new chai.Assertion(val, msg).to.be.containSubset(exp);\r\n}\r\n```"}}