Closed psantos10 closed 4 months ago
The build will fail. Once the fix is merged, we’ll kick off ci
It will still need to be rebased
Hi @pirj
Sorry, not sure if I got you correctly. "Once the fix s. merged" - This fix needs to be done by me? What is failing?
Sorry, this is my first time here :)
Please rebase
Please rebase
Done. Thanks
Merged, thanks!
In Rails, I can generate a mailer in both ways:
or
Both ways will create a class
UserMailer
under the fileapp/mailers/user_mailer.rb
and the test filetest/mailers/user_mailer_test.rb
(Minitest).When using RSpec, if I call the command like:
bin/rails generate mailer User
, it will create the test file name like:spec/mailers/user_spec.rb
instead ofspec/mailers/user_mailer_spec.rb
. The class though, is correct for the mailer test , but no for the preview file.This PR try to solve this