I haven't had time to isolate it yet. All my tests (Test::Unit) are following this pattern for starting VCR and stopping a cassette:
setup do
VCR.insert_cassette('basecamp settings', :record => :new_episodes, :match_requests_on => [:method, :uri, :authorization])
end
teardown do
VCR.eject_cassette
end
I tried to change the insert_cassette to use_cassette and got this error:
NoMethodError: undefined method `arity' for nil:NilClass
method call_block in vcr (2.0.0) lib/vcr/util/variable_args_block_caller.rb at line 5
method use_cassette in vcr (2.0.0) lib/vcr.rb at line 150
You think I am doing something wrong?
Thanks,
Tom