RAILS_ENV seems to be set but never used after

It's because it's for Rails to use, not RSpec

What you plan is quite an untypical approach to the‎ problem.

Since you stub those external services in 'test'‎ somewhere, I suggest you stub them selectively, for all spec folders except those with your external service integration tests.

Introducing yet another env comes at a cost, just think about yet another DB.

--
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/20201205194457.5845073.96546.9803%40gmail.com.

Reply via email to