aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-01 19:22:16 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-01 19:22:16 +0000
commitdaf3e92a316c041b6b2bf331c8d2a51e710fe7bf (patch)
treeca492afaf76db59ec1ab99105c07b54ffb28cc6a /activerecord/test/associations_test.rb
parenta6fefad354d36f3e9a91f8582659ffcda1a35855 (diff)
downloadrails-daf3e92a316c041b6b2bf331c8d2a51e710fe7bf.tar.gz
rails-daf3e92a316c041b6b2bf331c8d2a51e710fe7bf.tar.bz2
rails-daf3e92a316c041b6b2bf331c8d2a51e710fe7bf.zip
Added a db2 adapter that only depends on the Ruby/DB2 bindings (http://raa.ruby-lang.org/project/ruby-db2/) #386 [Maik Schmidt]. Converted all the fixtures to YAML style ones.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@303 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/associations_test.rb')
-rwxr-xr-xactiverecord/test/associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/associations_test.rb b/activerecord/test/associations_test.rb
index 5313485ec4..feccab09ec 100755
--- a/activerecord/test/associations_test.rb
+++ b/activerecord/test/associations_test.rb
@@ -519,7 +519,7 @@ class HasAndBelongsToManyAssociationsTest < Test::Unit::TestCase
def test_removing_associations_on_destroy
Developer.find(1).destroy
- assert Developer.connection.select_all("SELECT * FROM developers_projects WHERE developer_id = '1'").empty?
+ assert Developer.connection.select_all("SELECT * FROM developers_projects WHERE developer_id = 1").empty?
end
def test_additional_columns_from_join_table