deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject [2/3] git commit: * tests/cimi/collections/machine_templates_test.rb: small fix
Date Wed, 06 Mar 2013 23:50:01 GMT
* tests/cimi/collections/machine_templates_test.rb: small fix

The validation error does not contain the name of the offending parameter


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

Branch: refs/heads/master
Commit: cf1b93ba4e2f5d8c749f48a99bb16e751f9f2837
Parents: 778f3a8
Author: Michal Fojtik <mfojtik@redhat.com>
Authored: Fri Mar 1 12:21:02 2013 +0100
Committer: David Lutterkort <lutter@redhat.com>
Committed: Wed Mar 6 15:40:20 2013 -0800

----------------------------------------------------------------------
 .../cimi/collections/machine_templates_test.rb     |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/cf1b93ba/server/tests/cimi/collections/machine_templates_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/collections/machine_templates_test.rb b/server/tests/cimi/collections/machine_templates_test.rb
index 696052a..cfe2057 100644
--- a/server/tests/cimi/collections/machine_templates_test.rb
+++ b/server/tests/cimi/collections/machine_templates_test.rb
@@ -70,7 +70,6 @@ describe CIMI::Collections::MachineTemplates do
     post root_url('/machine_templates'), xml_body
     status.must_equal 400
     xml.at('/error/message').text.must_equal "Required attributes not set: machineImage"
-    xml.at('/error/parameter').text.must_equal "machineImage"
   end
 
 end


Mime
View raw message