{"action":"created","issue":{"url":"https://api.github.com/repos/baconjs/bacon.js/issues/616","labels_url":"https://api.github.com/repos/baconjs/bacon.js/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/baconjs/bacon.js/issues/616/comments","events_url":"https://api.github.com/repos/baconjs/bacon.js/issues/616/events","html_url":"https://github.com/baconjs/bacon.js/pull/616","id":93509709,"number":616,"title":"update combineTemplate to use original objects given as values (#615)","user":{"login":"ottopoika","id":1814734,"avatar_url":"https://avatars.githubusercontent.com/u/1814734?v=3","gravatar_id":"","url":"https://api.github.com/users/ottopoika","html_url":"https://github.com/ottopoika","followers_url":"https://api.github.com/users/ottopoika/followers","following_url":"https://api.github.com/users/ottopoika/following{/other_user}","gists_url":"https://api.github.com/users/ottopoika/gists{/gist_id}","starred_url":"https://api.github.com/users/ottopoika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ottopoika/subscriptions","organizations_url":"https://api.github.com/users/ottopoika/orgs","repos_url":"https://api.github.com/users/ottopoika/repos","events_url":"https://api.github.com/users/ottopoika/events{/privacy}","received_events_url":"https://api.github.com/users/ottopoika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-07T11:29:34Z","updated_at":"2015-07-15T08:32:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/baconjs/bacon.js/pulls/616","html_url":"https://github.com/baconjs/bacon.js/pull/616","diff_url":"https://github.com/baconjs/bacon.js/pull/616.diff","patch_url":"https://github.com/baconjs/bacon.js/pull/616.patch"},"body":"Fixes issue https://github.com/baconjs/bacon.js/issues/615"},"comment":{"url":"https://api.github.com/repos/baconjs/bacon.js/issues/comments/121528659","html_url":"https://github.com/baconjs/bacon.js/pull/616#issuecomment-121528659","issue_url":"https://api.github.com/repos/baconjs/bacon.js/issues/616","id":121528659,"user":{"login":"ottopoika","id":1814734,"avatar_url":"https://avatars.githubusercontent.com/u/1814734?v=3","gravatar_id":"","url":"https://api.github.com/users/ottopoika","html_url":"https://github.com/ottopoika","followers_url":"https://api.github.com/users/ottopoika/followers","following_url":"https://api.github.com/users/ottopoika/following{/other_user}","gists_url":"https://api.github.com/users/ottopoika/gists{/gist_id}","starred_url":"https://api.github.com/users/ottopoika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ottopoika/subscriptions","organizations_url":"https://api.github.com/users/ottopoika/orgs","repos_url":"https://api.github.com/users/ottopoika/repos","events_url":"https://api.github.com/users/ottopoika/events{/privacy}","received_events_url":"https://api.github.com/users/ottopoika/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T08:32:24Z","updated_at":"2015-07-15T08:32:24Z","body":"```coffeescript\r\nit.only \"doesn't mutate template objects\", ->\r\n    value = {key: fromArray([1, 2])}\r\n\r\n    Bacon\r\n      .combineTemplate(value)\r\n      .slidingWindow(2, 2)\r\n      .onValue ([first, second]) ->\r\n        expect(first).to.not.equal(second)\r\n```\r\n\r\nTried something like this but slidingWindow is undefined. What is the preferred way to write tests?"}}