deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject git commit: Tests: Fixed EC2 tests to use root_type instead of storage_type
Date Tue, 29 Jan 2013 09:22:00 GMT
Updated Branches:
  refs/heads/master f9dee32e2 -> a183640a9


Tests: Fixed EC2 tests to use root_type instead of storage_type


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/a183640a
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/a183640a
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/a183640a

Branch: refs/heads/master
Commit: a183640a97c7a763f0647e065701513277783f86
Parents: f9dee32
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Tue Jan 29 10:21:32 2013 +0100
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Tue Jan 29 10:21:32 2013 +0100

----------------------------------------------------------------------
 server/tests/drivers/ec2/images_test.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/a183640a/server/tests/drivers/ec2/images_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/drivers/ec2/images_test.rb b/server/tests/drivers/ec2/images_test.rb
index 7acbd7a..05c108a 100644
--- a/server/tests/drivers/ec2/images_test.rb
+++ b/server/tests/drivers/ec2/images_test.rb
@@ -48,8 +48,8 @@ describe 'Ec2Driver Images' do
   it 'must advertise the image storage_type' do
     VCR.insert_cassette 'test_0004_must_allow_to_retrieve_single_image'
     @driver.image(:id => 'ami-aecd60c7').wont_be_nil
-    @driver.image(:id => 'ami-aecd60c7').storage_type.wont_be_nil
-    @driver.image(:id => 'ami-aecd60c7').storage_type.must_equal 'persistent'
+    @driver.image(:id => 'ami-aecd60c7').root_type.wont_be_nil
+    @driver.image(:id => 'ami-aecd60c7').root_type.must_equal 'persistent'
   end
 
 end


Mime
View raw message