Browse files

Remove some spec guards on jdbc/oracle

These were fixed after the refactoring of the blob bound argument
spec refactoring.
  • Loading branch information...
1 parent cd566bc commit 5ac73f0a143d27162dace9159e3309ba6d6fc8d2 @jeremyevans committed Jul 16, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 CHANGELOG
  2. +3 −3 spec/integration/prepared_statement_test.rb
View
2 CHANGELOG
@@ -8,7 +8,7 @@
* Work around JRuby 1.6 ruby 1.9 mode bug in Time#nsec for Time prepared statement arguments on jdbc (jeremyevans)
-* Handle blob prepared statement arguments on jdbc/db2 (jeremyevans)
+* Handle blob prepared statement arguments on jdbc/db2 and jdbc/oracle (jeremyevans)
* Handle blob values in the swift adapter (jeremyevans)
View
6 spec/integration/prepared_statement_test.rb
@@ -309,19 +309,19 @@
@ds.literal(@ds.filter(:t=>:$x).prepare(:first, :ps_time).call(:x=>fract_time)[:t]).should == @ds.literal(fract_time)
end
- cspecify "should handle blob type", [:odbc], :oracle do
+ cspecify "should handle blob type", [:odbc], [:oracle] do
@ds.delete
@ds.prepare(:insert, :ps_blob, {:file=>:$x}).call(:x=>@vs[:file])
@ds.get(:file).should == @vs[:file]
end
- cspecify "should handle blob type with nil values", :oracle, [:tinytds], [:jdbc, proc{|db| defined?(Sequel::JDBC::SQLServer::DatabaseMethods) && db.is_a?(Sequel::JDBC::SQLServer::DatabaseMethods)}] do
+ cspecify "should handle blob type with nil values", [:oracle], [:tinytds], [:jdbc, proc{|db| defined?(Sequel::JDBC::SQLServer::DatabaseMethods) && db.is_a?(Sequel::JDBC::SQLServer::DatabaseMethods)}] do
@ds.delete
@ds.prepare(:insert, :ps_blob, {:file=>:$x}).call(:x=>nil)
@ds.get(:file).should == nil
end
- cspecify "should handle blob type with embedded zeros", [:odbc], :oracle do
+ cspecify "should handle blob type with embedded zeros", [:odbc], [:oracle] do
zero_blob = Sequel::SQL::Blob.new("a\0"*100)
@ds.delete
@ds.prepare(:insert, :ps_blob, {:file=>:$x}).call(:x=>zero_blob)

0 comments on commit 5ac73f0

Please sign in to comment.