From bebeff5dbc0a44df136ce08806af2952cf9ad270 Mon Sep 17 00:00:00 2001 From: Paul Thornthwaite Date: Tue, 25 Feb 2014 21:28:30 +0000 Subject: [PATCH] [vcloud] Remove helpless helper Looks like this class is used to override Fog::Connection in testing probably by manually tweaking the "false" Since I'm deprecating Fog::Connection it's not worth keeping track off. --- tests/vcloud/models/compute/conn_helper.rb | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/vcloud/models/compute/conn_helper.rb diff --git a/tests/vcloud/models/compute/conn_helper.rb b/tests/vcloud/models/compute/conn_helper.rb deleted file mode 100644 index 165fb62c6..000000000 --- a/tests/vcloud/models/compute/conn_helper.rb +++ /dev/null @@ -1,20 +0,0 @@ -module Fog - module Vcloud - if false - class Fog::Connection - def request(params, &block) - path = File.expand_path(File.join(File.dirname(__FILE__),'..','..','data',params[:path].gsub(/^\//,'').gsub('/','_+_'))) - if File.exists?(path) - body = File.read(path) - else - '' - end - Excon::Response.new( - :body => body, - :status => 200, - :header => '') - end - end - end - end -end