{"action":"created","issue":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/188","labels_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/188/comments","events_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/188/events","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/188","id":62659884,"number":188,"title":"Some headers without \"access-token\" (and friends) while testing with Rspec ","user":{"login":"FabFab","id":681980,"avatar_url":"https://avatars.githubusercontent.com/u/681980?v=3","gravatar_id":"","url":"https://api.github.com/users/FabFab","html_url":"https://github.com/FabFab","followers_url":"https://api.github.com/users/FabFab/followers","following_url":"https://api.github.com/users/FabFab/following{/other_user}","gists_url":"https://api.github.com/users/FabFab/gists{/gist_id}","starred_url":"https://api.github.com/users/FabFab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabFab/subscriptions","organizations_url":"https://api.github.com/users/FabFab/orgs","repos_url":"https://api.github.com/users/FabFab/repos","events_url":"https://api.github.com/users/FabFab/events{/privacy}","received_events_url":"https://api.github.com/users/FabFab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-18T10:58:49Z","updated_at":"2015-08-05T09:49:11Z","closed_at":null,"body":"While testing my rails-api with devise_token_auth with Rspec Requests, \r\n\r\nif I don't add ``response.headers.merge!(auth_header)`` in the batch request treatment here:\r\nhttps://github.com/lynndylanhurley/devise_token_auth/blob/master/app/controllers/devise_token_auth/concerns/set_user_by_token.rb#L75\r\n\r\nI get headers without \"access-token\".\r\n\r\nIs it normal? Is there a cleaner way to test this?"},"comment":{"url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/comments/127939870","html_url":"https://github.com/lynndylanhurley/devise_token_auth/issues/188#issuecomment-127939870","issue_url":"https://api.github.com/repos/lynndylanhurley/devise_token_auth/issues/188","id":127939870,"user":{"login":"FabFab","id":681980,"avatar_url":"https://avatars.githubusercontent.com/u/681980?v=3","gravatar_id":"","url":"https://api.github.com/users/FabFab","html_url":"https://github.com/FabFab","followers_url":"https://api.github.com/users/FabFab/followers","following_url":"https://api.github.com/users/FabFab/following{/other_user}","gists_url":"https://api.github.com/users/FabFab/gists{/gist_id}","starred_url":"https://api.github.com/users/FabFab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FabFab/subscriptions","organizations_url":"https://api.github.com/users/FabFab/orgs","repos_url":"https://api.github.com/users/FabFab/repos","events_url":"https://api.github.com/users/FabFab/events{/privacy}","received_events_url":"https://api.github.com/users/FabFab/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T09:49:11Z","updated_at":"2015-08-05T09:49:11Z","body":"I am not working on this project anymore and don't have access to the source code. \r\nI think the solution I came up with was the one I've mentioned previously. \r\nI was just looking for a cleaner way to do it. "}}