You can override `spec:prepare` by defining your own task with the same name in 
your Rakefile, rspec-rails’s one is there to conform to the Rails convention.

Cheers
Jon
----------------
m...@jonrowe.co.uk
https://jonrowe.co.uk

On 5 December 2020 at 19:44, Phil Pirozhkov wrote:
>
> 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/dejalu-217-524d35fb-0a92-46d0-adb8-ab08509601d6%40jonrowe.co.uk.

Reply via email to