Closed Dantemss closed 12 years ago
Update: Found at least one case where this occurs: Sometimes Faker generates the last name D'Amore, which gives us a username and an email containing d''amore, both of which are invalid.
Might be the factory creating an existing user name
On May 14, 2012, at 5:01 PM, Dantemssreply@reply.github.com wrote:
Figure out when this happens. Can happen on pretty much any test. If this happens, ALL tests for that rake session will fail.
Running rake again fixes the problem. A possible way to figure this out is to view the last user created on test.log immediately after this happens.
Reply to this email directly or view it on GitHub: https://github.com/lml/quadbase/issues/97
New occurrence: Faker generated last name O'Keefe, which is invalid (converted to O''Keefe in SQL)
Maybe just need to strip ' symbol from username and email?
Figure out when this happens. Can happen on pretty much any test. If this happens, ALL tests for that rake session will fail.
Running rake again fixes the problem. A possible way to figure this out is to view the last user created on test.log immediately after this happens.