Permalink
Browse files

added test for NULL as object type parameter

  • Loading branch information...
1 parent 108df7a commit f5db54a79106b06ac9201342d4483068677e2733 @rsim committed Dec 10, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/plsql/procedure_spec.rb
@@ -834,6 +834,11 @@
plsql.test_employee_object2(@p_employee, nil).should == [@p_employee, {:x_employee => @p_employee}]
end
+ it "should accept NULL as input parameter" do
+ pending "NULL object type parameter support not yet released in ruby-oci8" unless defined?(JRUBY_VERSION)
+ plsql.test_employee_object(nil).should == nil
+ end
+
end

0 comments on commit f5db54a

Please sign in to comment.