Hi All,
For rspec model testing I have used VCR, it works perfectly. But the same is not working for my acceptance testing(capybara, selenium, rspec), even though VCR is recording the request & response but everytime it triggers the external apis. What is the proper way to achieve this? Copied below the VCR configuration for reference
VCR.configure do |c|
c.allow_http_connections_when_no_cassette = true
c.hook_into :webmock
c.cassette_library_dir = 'vcr'
c.ignore_localhost = true
end
Regards,
Loganthan