{"action":"created","issue":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/1593","repository_url":"https://api.github.com/repos/rspec/rspec-rails","labels_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1593/labels{/name}","comments_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1593/comments","events_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1593/events","html_url":"https://github.com/rspec/rspec-rails/pull/1593","id":144306843,"number":1593,"title":"Add Mailer suffix for rails 5","user":{"login":"koenpunt","id":351038,"avatar_url":"https://avatars.githubusercontent.com/u/351038?v=3","gravatar_id":"","url":"https://api.github.com/users/koenpunt","html_url":"https://github.com/koenpunt","followers_url":"https://api.github.com/users/koenpunt/followers","following_url":"https://api.github.com/users/koenpunt/following{/other_user}","gists_url":"https://api.github.com/users/koenpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/koenpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenpunt/subscriptions","organizations_url":"https://api.github.com/users/koenpunt/orgs","repos_url":"https://api.github.com/users/koenpunt/repos","events_url":"https://api.github.com/users/koenpunt/events{/privacy}","received_events_url":"https://api.github.com/users/koenpunt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-29T15:49:37Z","updated_at":"2016-03-29T19:58:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rspec/rspec-rails/pulls/1593","html_url":"https://github.com/rspec/rspec-rails/pull/1593","diff_url":"https://github.com/rspec/rspec-rails/pull/1593.diff","patch_url":"https://github.com/rspec/rspec-rails/pull/1593.patch"},"body":"This is the same fix as in the mailer template generator"},"comment":{"url":"https://api.github.com/repos/rspec/rspec-rails/issues/comments/203074231","html_url":"https://github.com/rspec/rspec-rails/pull/1593#issuecomment-203074231","issue_url":"https://api.github.com/repos/rspec/rspec-rails/issues/1593","id":203074231,"user":{"login":"koenpunt","id":351038,"avatar_url":"https://avatars.githubusercontent.com/u/351038?v=3","gravatar_id":"","url":"https://api.github.com/users/koenpunt","html_url":"https://github.com/koenpunt","followers_url":"https://api.github.com/users/koenpunt/followers","following_url":"https://api.github.com/users/koenpunt/following{/other_user}","gists_url":"https://api.github.com/users/koenpunt/gists{/gist_id}","starred_url":"https://api.github.com/users/koenpunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenpunt/subscriptions","organizations_url":"https://api.github.com/users/koenpunt/orgs","repos_url":"https://api.github.com/users/koenpunt/repos","events_url":"https://api.github.com/users/koenpunt/events{/privacy}","received_events_url":"https://api.github.com/users/koenpunt/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T19:58:21Z","updated_at":"2016-03-29T19:58:21Z","body":"It's an extension on what you did here: https://github.com/rspec/rspec-rails/commit/7a13bf15a191add538c5293c18c7a8dd3fe96e12\r\nSo without this change, the mailer preview class wouldn't work because the mailer class without the `Mailer` suffix doesn't exist.\r\n\r\nI don't believe there's a test for this file, but maybe there should be?"}}