deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dko...@apache.org
Subject [3/4] git commit: Tests: add 'network_interfaces' to expected attributes in instances
Date Fri, 24 May 2013 09:37:27 GMT
Tests: add 'network_interfaces' to expected attributes in instances


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

Branch: refs/heads/master
Commit: 6889be78880d64dcc5dd996202608c93992df687
Parents: df379d6
Author: Dies Koper <diesk@fast.au.fujitsu.com>
Authored: Fri May 24 11:48:22 2013 +1000
Committer: Dies Koper <diesk@fast.au.fujitsu.com>
Committed: Fri May 24 19:29:06 2013 +1000

----------------------------------------------------------------------
 .../collections/instances_collection_test.rb       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/6889be78/server/tests/deltacloud/collections/instances_collection_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/deltacloud/collections/instances_collection_test.rb b/server/tests/deltacloud/collections/instances_collection_test.rb
index a73d1b2..0b15e89 100644
--- a/server/tests/deltacloud/collections/instances_collection_test.rb
+++ b/server/tests/deltacloud/collections/instances_collection_test.rb
@@ -72,7 +72,7 @@ describe Deltacloud::Collections::Instances do
     json['instance'].wont_be_empty
     Deltacloud::Instance.attributes.each do |attr|
       attr = attr.to_s.gsub(/_id$/,'') if attr.to_s =~ /_id$/
-      next if ['launch_time', 'authn_error', 'firewalls', 'keyname', 'username', 'password',
'instance_profile'].include?(attr.to_s)
+      next if ['launch_time', 'authn_error', 'firewalls', 'keyname', 'username', 'password',
'instance_profile', 'network_interfaces'].include?(attr.to_s)
       json['instance'].keys.must_include attr.to_s
       json['instance'].keys.must_include 'create_image'
       json['instance'].keys.must_include 'hardware_profile'


Mime
View raw message