mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[#2112] Allows non VCR HTTP connections
This is a temporary solution. The VCR config which globally affects all providers should not be isolated under one provider.
This commit is contained in:
parent
7eb41776df
commit
d9fe97bd37
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ require 'fog/vcloud_director/compute'
|
|||
VCR.configure do |c|
|
||||
c.cassette_library_dir = 'tests/vcloud_director/vcr_cassettes'
|
||||
c.hook_into :webmock
|
||||
c.allow_http_connections_when_no_cassette = true
|
||||
end
|
||||
|
||||
def boolean?(item)
|
||||
|
@ -67,4 +68,4 @@ end
|
|||
def the_catalog_item
|
||||
return nil unless the_catalog
|
||||
@catalog_item ||= the_catalog.catalog_items.get_by_name(CATALOG_ITEM_NAME)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue