deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dko...@apache.org
Subject git commit: CIMI: fix test failure due to sequel/sqlite error type change
Date Tue, 09 Jul 2013 06:30:07 GMT
Updated Branches:
  refs/heads/master 9e36a2296 -> 7fabd2bdf


CIMI: fix test failure due to sequel/sqlite error type change


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

Branch: refs/heads/master
Commit: 7fabd2bdf9945e493828dbd7f526db29d255fab3
Parents: 9e36a22
Author: Dies Koper <diesk@fast.au.fujitsu.com>
Authored: Fri Jul 5 23:44:56 2013 +1000
Committer: Dies Koper <diesk@fast.au.fujitsu.com>
Committed: Tue Jul 9 16:25:30 2013 +1000

----------------------------------------------------------------------
 server/tests/cimi/db/schema_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/7fabd2bd/server/tests/cimi/db/schema_test.rb
----------------------------------------------------------------------
diff --git a/server/tests/cimi/db/schema_test.rb b/server/tests/cimi/db/schema_test.rb
index 2c71e85..6802a30 100644
--- a/server/tests/cimi/db/schema_test.rb
+++ b/server/tests/cimi/db/schema_test.rb
@@ -34,7 +34,7 @@ describe "Deltacloud::Database" do
     provider = Deltacloud::Database::Provider
     lambda {
       new_provider = provider.create(:driver => nil, :url => 'test1')
-    }.must_raise Sequel::InvalidValue
+    }.must_raise Sequel::InvalidValue, Sequel::NotNullConstraintViolation
   end
 
   it 'allow creation of simple entity' do


Mime
View raw message