README.md in watchdocs-rails-0.7.0 vs README.md in watchdocs-rails-0.8.0
- old
+ new
@@ -101,9 +101,21 @@
Minitest.after_run do
Watchdocs::Rails::Recordings.export
end
```
+#### Configuring with WebMock
+
+
+If you are using WebMock and it complains about real HTTP call please disable it for when exporting data to our API.
+
+ config.after(:suite) do
+ ....
+ WebMock.disable!
+ Watchdocs::Rails::Recordings.export
+ WebMock.enable!
+ end
+
#### Configuring with VCR
If you are using VCR add this line to your `VCR.configure` block: