spec/processor/client_spec.rb in pupa-0.2.3 vs spec/processor/client_spec.rb in pupa-0.2.4
- old
+ new
@@ -1,8 +1,8 @@
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe Pupa::Processor::Client do
- describe '.new' do
+ describe '.new', vcr: {cassette_name: 'cache'} do
it 'should use the filesystem' do
expect(ActiveSupport::Cache::FileStore).to receive(:new).and_call_original
Pupa::Processor::Client.new(cache_dir: '/tmp', level: 'UNKNOWN').get('http://httpbin.org/')
end