site_name: Deltacloud API title: Updating VCR Fixtures Example
<pre>
rhevm:
user: 'admin@internal'
password: 'localpassword'
provider: 'https://rhevm.example.com/api'
preferred:
datacenter: UUID of a datacenter/realm
vm: UUID of an existing instance
template: UUID of an existing template/image
mock:
user: mockuser
password: mockpassword
provider: compute
<pre>
% export VCR_RECORD="all"
</pre>
<pre>
% cd YOUR-REPO/deltacloud/server
# Record only the single test:
% ruby tests/drivers/rhevm/instance_test.rb
<b>or</b>
# Record the drivers:rhevm tests:
% rake test:drivers:rhevm
<b>or</b>
# Record all the tests:
% rake test
</pre>
<pre>
% unset VCR_RECORD
</pre>
<pre>
% cd <REPO>/deltacloud/server
# Run only the single tests that had been re-recorded
% ruby tests/drivers/rhevm/instance_test.rb
<b>and</b>
# Run all tests in that section:
% rake test:drivers:rhevm
<b>and</b>
# Record all the tests:
% rake test
</pre>