Permalink
Browse files

Removes a now needless test - via Github

  • Loading branch information...
1 parent ec44763 commit ded7e35cb021512124f491c5ee90aa52829f9932 @TheEmpty TheEmpty committed May 26, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 activerecord/test/cases/associations/habtm_join_table_test.rb
@@ -32,12 +32,4 @@ def teardown
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

0 comments on commit ded7e35

Please sign in to comment.