Even though all tests passed and the global mock was tested with an external application,
it was pretty optimistic to enabled that by default.
This commit changes default behavior that mocks every cassette and adds an ability to enable
the experimental feature. To do so, extend your test.exs:
config :exvcr, [
global_mock: true
]
In Travis CI we run the same test for both default behavior and global
mock.
Coverage decreased (-1.0%) to 92.308% when pulling 982b6b7c4932a08f09a8e649a4b28baa0089f44c on surik:global-mock-flag into f518f13e547ff232405e3ba091b622e399c4686b on parroty:master.
Even though all tests passed and the global mock was tested with an external application, it was pretty optimistic to enabled that by default. This commit changes default behavior that mocks every cassette and adds an ability to enable the experimental feature. To do so, extend your
test.exs
:In Travis CI we run the same test for both default behavior and global mock.