I have a controller spec passing in Rails 5.2 but failing in Rails 6.1.5: ``` expect(response).to render_template(file: "#{Rails.root}/public/404.html") ``` What can be different between 2 Rails versions?
The error I get: ``` Failure/Error: expect(response).to render_template(file: *"* #{Rails.root}/public/404.html*"*) Expected [] to include "/Users/XXX/my_rails_app/public/404.html". ``` Used spec-rails version: 4.0.2. Any ideas? -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to rspec+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/6ecaaa59-ee33-4d38-8846-a7b8a17d4d2cn%40googlegroups.com.