Please sign in to comment.
Eliminate constant redef warnings during test runs.
Under ruby 1.8, requires are only tracked by the literal path that's passed to `require`. This commit ensures that `'composite_primary_keys/version'` is only ever required by that specific path, preventing its contents from being redefined when the test suite is loaded.
- Loading branch information...
Showing with 5 additions and 4 deletions.