Not uses the recorded req & response with capybara selenium driver

69 views
Skip to first unread message

logana...@gmail.com

unread,
Aug 16, 2014, 3:55:28 PM8/16/14
to vcr-...@googlegroups.com

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

Myron Marston

unread,
Aug 16, 2014, 4:36:18 PM8/16/14
to vcr-...@googlegroups.com
This is a duplicate of https://github.com/vcr/vcr/issues/432 so I'll answer it there.  In the future, please don't post to both the mailing list and github issues for the same problem.

Myron 
Reply all
Reply to author
Forward
0 new messages