diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-26 06:26:50 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-05-26 06:26:50 +0000 |
commit | 33e96f3cb39401a576f5d1bd0584a61223a266b8 (patch) | |
tree | c850a7f212571c3e496820118b1890b623f0d199 /activerecord/test/binary_test.rb | |
parent | 652fe645f6a199417f672965b1f4d4078d046f7d (diff) | |
download | rails-33e96f3cb39401a576f5d1bd0584a61223a266b8.tar.gz rails-33e96f3cb39401a576f5d1bd0584a61223a266b8.tar.bz2 rails-33e96f3cb39401a576f5d1bd0584a61223a266b8.zip |
Oracle binary fixtures; pull fixture insertion into the adapters. Closes #7987.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/binary_test.rb')
-rw-r--r-- | activerecord/test/binary_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/binary_test.rb b/activerecord/test/binary_test.rb index 38a5d50935..3e35f1754f 100644 --- a/activerecord/test/binary_test.rb +++ b/activerecord/test/binary_test.rb @@ -20,7 +20,7 @@ class BinaryTest < Test::Unit::TestCase # Without using prepared statements, it makes no sense to test # BLOB data with DB2 or Firebird, because the length of a statement # is limited to 32KB. - unless %w(SQLServer Sybase DB2 Oracle Firebird).include? ActiveRecord::Base.connection.adapter_name + unless current_adapter?(:SQLServerAdapter, :SybaseAdapter, :DB2Adapter, :FirebirdAdapter) def test_load_save bin = Binary.new bin.data = @data |