spec/spec_helper.rb in vmware-vra-2.3.0 vs spec/spec_helper.rb in vmware-vra-2.4.0
- old
+ new
@@ -18,6 +18,13 @@
#
require "vra"
require "webmock/rspec"
+def fixtures_dir
+ @fixtures_dir ||= begin
+ base_dir = File.dirname(__FILE__)
+ File.join(base_dir, "fixtures")
+ end
+end
+
WebMock.disable_net_connect!(allow_localhost: true)