Skip to content

Add UUIDTools::UUID#next method to avoid a bug with shoulda-matchers #28

merged 1 commit into from Apr 25, 2013

2 participants


My RSpec suite randomly fail because of a bug between shoulda-matchers and activeuuid:

Indeed Shoulda relies on Type#next to randomly change an ID, but UUID#next was not implemented and returned, which is or isn't an UUID !

I've patched UUID class to provide a random (but good) UUID on #next.

@pyromaniac pyromaniac merged commit cf95ff1 into jashmenn:master Apr 25, 2013

1 check passed

Details default The Travis build passed


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.