How do I configure integration tests using rspec 2?
- by Jamie Monserrate
I need to have different settings for my unit tests and different settings for my integration tests. Example
For unit tests, I would like to do
WebMock.disable_net_connect!(:allow_localhost => true)
And for integration tests, I would like to do
WebMock.allow_net_connect!
Also, before the start of an integration test, I would like to…