aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
diff options
context:
space:
mode:
authorMohammad Typaldos <mohammad.elabid@gmail.com>2011-05-26 12:17:20 -0700
committerMohammad Typaldos <mohammad.elabid@gmail.com>2011-05-26 12:17:20 -0700
commitded7e35cb021512124f491c5ee90aa52829f9932 (patch)
tree8439dbc4df1e4ecf5d934c42ea4808002b11a012 /activerecord/test/cases/associations
parentec44763f03b49e8c6e3bff71772ba32863a01306 (diff)
downloadrails-ded7e35cb021512124f491c5ee90aa52829f9932.tar.gz
rails-ded7e35cb021512124f491c5ee90aa52829f9932.tar.bz2
rails-ded7e35cb021512124f491c5ee90aa52829f9932.zip
Removes a now needless test - via Github
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r--activerecord/test/cases/associations/habtm_join_table_test.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/test/cases/associations/habtm_join_table_test.rb b/activerecord/test/cases/associations/habtm_join_table_test.rb
index 85bb7d57bb..fe2b82f2c1 100644
--- a/activerecord/test/cases/associations/habtm_join_table_test.rb
+++ b/activerecord/test/cases/associations/habtm_join_table_test.rb
@@ -32,12 +32,4 @@ class HabtmJoinTableTest < ActiveRecord::TestCase
ActiveRecord::Base.connection.drop_table :my_readers
ActiveRecord::Base.connection.drop_table :my_books_my_readers
end
-
- uses_transaction :test_should_not_raise_exception_when_join_table_has_a_primary_key
- def test_should_not_raise_exception_when_join_table_has_a_primary_key
- if ActiveRecord::Base.connection.supports_primary_key?
- # This test is to confirm that this feature is now gone
- assert MyReader.has_and_belongs_to_many(:my_books).is_a?(ActiveRecord::Reflection::AssociationReflection)
- end
- end
end