Fixed test_disable_referential_integrity on Oracle #2466

Merged
merged 1 commit into from Aug 8, 2011

Conversation

Projects
None yet
2 participants
@rsim
Contributor

rsim commented Aug 8, 2011

On Oracle disable_referential_integrity before execution of block will disable foreign key constraints and after block will enable them but when constraints are enabled then they are validated. Therefore created record with invalid foreign key should be deleted before enabling foreign key constraints.

Fixed test_disable_referential_integrity on Oracle
On Oracle disable_referential_integrity before execution of block will disable foreign key constraints and after block will enable them but when constraints are enabled then they are validated. Therefore created record with invalid foreign key should be deleted before enabling foreign key constraints.

tenderlove added a commit that referenced this pull request Aug 8, 2011

Merge pull request #2466 from rsim/fix_test_disable_referential_integ…
…rity

Fixed test_disable_referential_integrity on Oracle

@tenderlove tenderlove merged commit 11fbeb7 into rails:master Aug 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment