Skip to content

Commit

Permalink
Removes a now needless test - via Github
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEmpty committed May 26, 2011
1 parent ec44763 commit ded7e35
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions activerecord/test/cases/associations/habtm_join_table_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.