[rspec-users] id getting overwritten with 0 when testing
dchelimsky at gmail.com
Wed Jan 25 16:56:33 EST 2012
On Wed, Jan 25, 2012 at 3:49 PM, Guyren G Howe <gisborne at emailuser.net> wrote:
> On Jan 25, 2012, at 1:45 PM, David Chelimsky wrote:
>> Just looked back at your initial email and see you cited rspec-2.8,
>> but the way Rails handles incoming params in tests changed in either
>> 3.1 or 3.2 (I have to check). Which rails version specifically?
> Since I was *always* going to be providing a UUID for the pk, I didn’t even bother changing the default value for the pk in the schema. I’m going to try fixing that and see if it’s any better.
I'd start by debugging to see where the wheels fall off. Are you
familiar/comfortable with Ruby's debugger?
More information about the rspec-users