{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/xclojure/issues/148","repository_url":"https://api.github.com/repos/exercism/xclojure","labels_url":"https://api.github.com/repos/exercism/xclojure/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/exercism/xclojure/issues/148/comments","events_url":"https://api.github.com/repos/exercism/xclojure/issues/148/events","html_url":"https://github.com/exercism/xclojure/issues/148","id":184724928,"number":148,"title":"Improve tests in Clojure Robot name exercise ","user":{"login":"kytrinyx","id":276834,"avatar_url":"https://avatars.githubusercontent.com/u/276834?v=3","gravatar_id":"","url":"https://api.github.com/users/kytrinyx","html_url":"https://github.com/kytrinyx","followers_url":"https://api.github.com/users/kytrinyx/followers","following_url":"https://api.github.com/users/kytrinyx/following{/other_user}","gists_url":"https://api.github.com/users/kytrinyx/gists{/gist_id}","starred_url":"https://api.github.com/users/kytrinyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kytrinyx/subscriptions","organizations_url":"https://api.github.com/users/kytrinyx/orgs","repos_url":"https://api.github.com/users/kytrinyx/repos","events_url":"https://api.github.com/users/kytrinyx/events{/privacy}","received_events_url":"https://api.github.com/users/kytrinyx/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-23T23:49:52Z","updated_at":"2016-10-24T00:08:58Z","closed_at":null,"body":"Moved from https://github.com/exercism/exercism.io/issues/1994 -- original issue by @pdej\r\n\r\n-------\r\n\r\n\r\nSeems like these tests could be improved. The execution of `(robot-name/reset-name robbie)` is done before any tests are run, which would make all tests pass by simply hard coding a name when initializing a new robot, and hard coding another one for reset. \r\n\r\nA better way would be to create a robot, save the original name, reset it and then test against a new robot or the original name, all in the same test. Instead of having a global definition of the robots. Or have I misunderstood the tests?"},"comment":{"url":"https://api.github.com/repos/exercism/xclojure/issues/comments/255624469","html_url":"https://github.com/exercism/xclojure/issues/148#issuecomment-255624469","issue_url":"https://api.github.com/repos/exercism/xclojure/issues/148","id":255624469,"user":{"login":"yurrriq","id":1866448,"avatar_url":"https://avatars.githubusercontent.com/u/1866448?v=3","gravatar_id":"","url":"https://api.github.com/users/yurrriq","html_url":"https://github.com/yurrriq","followers_url":"https://api.github.com/users/yurrriq/followers","following_url":"https://api.github.com/users/yurrriq/following{/other_user}","gists_url":"https://api.github.com/users/yurrriq/gists{/gist_id}","starred_url":"https://api.github.com/users/yurrriq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurrriq/subscriptions","organizations_url":"https://api.github.com/users/yurrriq/orgs","repos_url":"https://api.github.com/users/yurrriq/repos","events_url":"https://api.github.com/users/yurrriq/events{/privacy}","received_events_url":"https://api.github.com/users/yurrriq/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T00:08:58Z","updated_at":"2016-10-24T00:08:58Z","body":"I agree with the suggested improvement. The `robbie` and `clutz` vars feel weird."}}
{"actor":{"display_login":"yurrriq"}}