使用 rails mailer 參數化時如何最好地使用 rspec 模擬 [英]How to best use rspec mocks when using rails mailer parameterization
在 Rails 5+ 中使用 RSpec 時,我應該用什么來代替“賦值”? [英]What should I use in place of “assigns” when using RSpec with Rails 5+?