You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2010/11/29 10:57:02 UTC

svn commit: r1040048 - in /incubator/deltacloud/trunk: server/lib/deltacloud/models/image.rb tests/mock/images.feature

Author: mfojtik
Date: Mon Nov 29 09:57:02 2010
New Revision: 1040048

URL: http://svn.apache.org/viewvc?rev=1040048&view=rev
Log:
Added state field to Image

Modified:
    incubator/deltacloud/trunk/server/lib/deltacloud/models/image.rb
    incubator/deltacloud/trunk/tests/mock/images.feature

Modified: incubator/deltacloud/trunk/server/lib/deltacloud/models/image.rb
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/lib/deltacloud/models/image.rb?rev=1040048&r1=1040047&r2=1040048&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/lib/deltacloud/models/image.rb (original)
+++ incubator/deltacloud/trunk/server/lib/deltacloud/models/image.rb Mon Nov 29 09:57:02 2010
@@ -23,5 +23,6 @@ class Image < BaseModel
   attr_accessor :owner_id
   attr_accessor :description
   attr_accessor :architecture
+  attr_accessor :state
 
-end
\ No newline at end of file
+end

Modified: incubator/deltacloud/trunk/tests/mock/images.feature
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/tests/mock/images.feature?rev=1040048&r1=1040047&r2=1040048&view=diff
==============================================================================
--- incubator/deltacloud/trunk/tests/mock/images.feature (original)
+++ incubator/deltacloud/trunk/tests/mock/images.feature Mon Nov 29 09:57:02 2010
@@ -11,6 +11,7 @@ Feature: Listing and showing images
     | description |
     | architecture |
     | owner_id |
+    | state |
     And each image should have 'href' attribute with valid URL
     And this URI should be available in XML, JSON, HTML format
 
@@ -28,6 +29,7 @@ Feature: Listing and showing images
     | description |
     | architecture |
     | owner_id |
+    | state |
     And this URI should be available in XML, JSON, HTML format
 
   Scenario: Filtering images by owner_id