{"action":"closed","issue":{"url":"https://api.github.com/repos/benjamin-hodgson/Contexts/issues/11","labels_url":"https://api.github.com/repos/benjamin-hodgson/Contexts/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/benjamin-hodgson/Contexts/issues/11/comments","events_url":"https://api.github.com/repos/benjamin-hodgson/Contexts/issues/11/events","html_url":"https://github.com/benjamin-hodgson/Contexts/issues/11","id":105440345,"number":11,"title":"Missing Example - Testing Function from a Module","user":{"login":"Yoshi325","id":1900071,"avatar_url":"https://avatars.githubusercontent.com/u/1900071?v=3","gravatar_id":"","url":"https://api.github.com/users/Yoshi325","html_url":"https://github.com/Yoshi325","followers_url":"https://api.github.com/users/Yoshi325/followers","following_url":"https://api.github.com/users/Yoshi325/following{/other_user}","gists_url":"https://api.github.com/users/Yoshi325/gists{/gist_id}","starred_url":"https://api.github.com/users/Yoshi325/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yoshi325/subscriptions","organizations_url":"https://api.github.com/users/Yoshi325/orgs","repos_url":"https://api.github.com/users/Yoshi325/repos","events_url":"https://api.github.com/users/Yoshi325/events{/privacy}","received_events_url":"https://api.github.com/users/Yoshi325/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benjamin-hodgson/Contexts/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-08T18:17:36Z","updated_at":"2015-09-11T07:12:48Z","closed_at":"2015-09-11T07:12:48Z","body":"The documentation does not have an example of how to test a function in a module. There is an example for testing a method from a class. And examples showing standalone code (in the Triangulation section). But there are no examples on how to test functions that are part of a module.\r\n\r\nI am having trouble testing just such a case (which is why I am requesting an example)."}}