{"comment":{"url":"https://api.github.com/repos/WebDevFromScratch/rabbitmq-publisher/comments/10730177","html_url":"https://github.com/WebDevFromScratch/rabbitmq-publisher/commit/62339003876415fc345173241472a076fa6256e4#commitcomment-10730177","id":10730177,"user":{"login":"Keqi","id":1449343,"avatar_url":"https://avatars.githubusercontent.com/u/1449343?v=3","gravatar_id":"","url":"https://api.github.com/users/Keqi","html_url":"https://github.com/Keqi","followers_url":"https://api.github.com/users/Keqi/followers","following_url":"https://api.github.com/users/Keqi/following{/other_user}","gists_url":"https://api.github.com/users/Keqi/gists{/gist_id}","starred_url":"https://api.github.com/users/Keqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keqi/subscriptions","organizations_url":"https://api.github.com/users/Keqi/orgs","repos_url":"https://api.github.com/users/Keqi/repos","events_url":"https://api.github.com/users/Keqi/events{/privacy}","received_events_url":"https://api.github.com/users/Keqi/received_events","type":"User","site_admin":false},"position":10,"line":7,"path":"spec/lib/acknowledgement_worker_spec.rb","commit_id":"62339003876415fc345173241472a076fa6256e4","created_at":"2015-04-15T07:37:12Z","updated_at":"2015-04-15T07:37:12Z","body":"You can use let!(:currency) { Currency.create } and then get rid of line 5."}}