ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.73k stars 237 forks source link

uninitialized constant LetterOpener with RSpec 3.11 #199

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi, I'm having this error with Rails 7.0.2.2, Ruby 3.1.0 and RSpec 3.11. I did all the configuration steps you list in the README.md, Rails server still able to run without problem, it is only in test, I tried adding the config lines to config/environments/test.rb with no succes

Screen Shot 2022-03-09 at 13 28 24

s

nashby commented 2 years ago

Hey, can you please create a sample app that reproduces this issue?

ghost commented 2 years ago

Sorry, tried but not able to reproduce the issue with a simple demo app... Team leader just moved to other approach...