ruby on rails - Rspec metadata: vcr should only kick in for tagged examples, but works for every example instead? -


simple setup:

#spec_helper.rb  vcr.configure |c|   c.cassette_library_dir = file.expand_path '../vcr_cassettes', __file__   c.hook_into :fakeweb   c.ignore_localhost = true   c.configure_rspec_metadata! end  rspec.configure |c|   c.treat_symbols_as_metadata_keys_with_true_values = true end 

i expecting examples not tagged :vcr not affected not seem case. getting "vcr not know request..." kind of error.

what missing?

vcr designed identify places in test suite http requests made , them under deterministic test. such, default, when http request made , no cassette in use, raises error. can configure allow http connections when there no cassette if prefer.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -