exvcr v0.8.5 ExVCR.Mock

Provides macro to record HTTP request/response.

Summary

Functions

Mock methods pre-defined for the specified adapter

Normalize fixture name for using as json file names, which removes whitespaces and align case

Prepare stub record based on specified option parameters

Macros

Provides macro to trigger recording/replaying http interactions with default options

Provides macro to trigger recording/replaying http interactions

Functions

mock_methods(recorder, adapter)

Mock methods pre-defined for the specified adapter.

normalize_fixture(fixture)

Normalize fixture name for using as json file names, which removes whitespaces and align case.

prepare_stub_record(options, adapter)

Prepare stub record based on specified option parameters.

Macros

use_cassette(fixture, test)

Provides macro to trigger recording/replaying http interactions with default options.

use_cassette(fixture, options, test)

Provides macro to trigger recording/replaying http interactions.