class ActiveRecord::Migration::NoForeignKeySupportTest

Public Instance Methods

test_add_foreign_key_should_be_noop() click to toggle source
# File activerecord/test/cases/migration/foreign_key_test.rb, line 321
def test_add_foreign_key_should_be_noop
  @connection.add_foreign_key :clubs, :categories
end
test_foreign_keys_should_raise_not_implemented() click to toggle source
# File activerecord/test/cases/migration/foreign_key_test.rb, line 330
def test_foreign_keys_should_raise_not_implemented
  assert_raises NotImplementedError do
    @connection.foreign_keys("clubs")
  end
end
test_remove_foreign_key_should_be_noop() click to toggle source
# File activerecord/test/cases/migration/foreign_key_test.rb, line 325
def test_remove_foreign_key_should_be_noop
  @connection.remove_foreign_key :clubs, :categories
end