diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-01-05 00:12:06 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-01-05 00:12:06 +0000 |
commit | 84481dd3b42159428cd48ba67f811ed24deb6ed0 (patch) | |
tree | 0ddcca39ddd27976c9bd2e1820bccd87bf4d6547 /activerecord/test/associations | |
parent | 8219db5ee25342ae53bfdcc511b00058121ebb42 (diff) | |
download | rails-84481dd3b42159428cd48ba67f811ed24deb6ed0.tar.gz rails-84481dd3b42159428cd48ba67f811ed24deb6ed0.tar.bz2 rails-84481dd3b42159428cd48ba67f811ed24deb6ed0.zip |
Sybase adapter fixes. Closes #6926 [jsheets]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/associations')
-rw-r--r-- | activerecord/test/associations/eager_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/associations/eager_test.rb b/activerecord/test/associations/eager_test.rb index e8e14c2c50..b303363f00 100644 --- a/activerecord/test/associations/eager_test.rb +++ b/activerecord/test/associations/eager_test.rb @@ -374,7 +374,7 @@ class EagerAssociationTest < Test::Unit::TestCase end def test_count_with_include - if current_adapter?(:SQLServerAdapter) + if current_adapter?(:SQLServerAdapter, :SybaseAdapter) assert_equal 3, authors(:david).posts_with_comments.count(:conditions => "len(comments.body) > 15") else assert_equal 3, authors(:david).posts_with_comments.count(:conditions => "length(comments.body) > 15") |