{"action":"created","issue":{"url":"https://api.github.com/repos/fphilipe/premailer-rails/issues/156","repository_url":"https://api.github.com/repos/fphilipe/premailer-rails","labels_url":"https://api.github.com/repos/fphilipe/premailer-rails/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/fphilipe/premailer-rails/issues/156/comments","events_url":"https://api.github.com/repos/fphilipe/premailer-rails/issues/156/events","html_url":"https://github.com/fphilipe/premailer-rails/issues/156","id":146105807,"number":156,"title":"Premailer not running in test environment?","user":{"login":"tsigo","id":16124,"avatar_url":"https://avatars.githubusercontent.com/u/16124?v=3","gravatar_id":"","url":"https://api.github.com/users/tsigo","html_url":"https://github.com/tsigo","followers_url":"https://api.github.com/users/tsigo/followers","following_url":"https://api.github.com/users/tsigo/following{/other_user}","gists_url":"https://api.github.com/users/tsigo/gists{/gist_id}","starred_url":"https://api.github.com/users/tsigo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsigo/subscriptions","organizations_url":"https://api.github.com/users/tsigo/orgs","repos_url":"https://api.github.com/users/tsigo/repos","events_url":"https://api.github.com/users/tsigo/events{/privacy}","received_events_url":"https://api.github.com/users/tsigo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-05T20:58:57Z","updated_at":"2016-06-11T17:40:27Z","closed_at":"2016-06-11T17:40:27Z","body":"I'm having the opposite problem of https://github.com/fphilipe/premailer-rails/issues/143. We haven't limited the gem to any group in `Gemfile`, but with `remove_scripts` set to `true`, a spec that tests for the removal of a `<script>` tag in a rendered email fails.\r\n\r\nFor background, we began using the gem in [GitLab](https://gitlab.com/gitlab-org/gitlab-ce) last month (and an internal app before that - we love it!) - and recently noticed that a `script` tag was being removed from our production emails, but [these specs](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/mailers/shared/notify.rb#L143-145), which check for a string in the contents of the `script` tag, weren't failing."},"comment":{"url":"https://api.github.com/repos/fphilipe/premailer-rails/issues/comments/225379534","html_url":"https://github.com/fphilipe/premailer-rails/issues/156#issuecomment-225379534","issue_url":"https://api.github.com/repos/fphilipe/premailer-rails/issues/156","id":225379534,"user":{"login":"fphilipe","id":128151,"avatar_url":"https://avatars.githubusercontent.com/u/128151?v=3","gravatar_id":"","url":"https://api.github.com/users/fphilipe","html_url":"https://github.com/fphilipe","followers_url":"https://api.github.com/users/fphilipe/followers","following_url":"https://api.github.com/users/fphilipe/following{/other_user}","gists_url":"https://api.github.com/users/fphilipe/gists{/gist_id}","starred_url":"https://api.github.com/users/fphilipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fphilipe/subscriptions","organizations_url":"https://api.github.com/users/fphilipe/orgs","repos_url":"https://api.github.com/users/fphilipe/repos","events_url":"https://api.github.com/users/fphilipe/events{/privacy}","received_events_url":"https://api.github.com/users/fphilipe/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T17:40:27Z","updated_at":"2016-06-11T17:40:27Z","body":"@tsigo Are you delivering the emails or simply generating them? premailer-rails hooks into ActionMailer through delivery hooks. If you want to manually trigger the processing, you can do so with `Premailer::Rails::Hook.perform(mail)`."}}
{"actor":{"display_login":"fphilipe"}}