incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject svn commit: r1063189 - /incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/mock_driver.rb
Date Tue, 25 Jan 2011 09:40:01 GMT
Author: mfojtik
Date: Tue Jan 25 09:40:00 2011
New Revision: 1063189

URL: http://svn.apache.org/viewvc?rev=1063189&view=rev
Log:
Fixed EC2 mock driver (driver and module needs to be initialized before Cucumber)

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/mock_driver.rb

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/mock_driver.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/mock_driver.rb?rev=1063189&r1=1063188&r2=1063189&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/mock_driver.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/base_driver/mock_driver.rb Tue Jan 25
09:40:00 2011
@@ -2,6 +2,10 @@ require 'deltacloud/method_serializer'
 
 # Create 'mock' version of original driver client/gem:
 
+# Initialize driver and include Deltacloud
+include Deltacloud
+driver
+
 module Mock
 
   class Ec2 < Aws::Ec2



Mime
View raw message