[rspec-users] Does RSpec work nicely with UUID primary keys?
David Chelimsky
dchelimsky at gmail.com
Sat Jul 5 10:15:05 EDT 2008
On Jul 5, 2008, at 9:03 AM, John Knox wrote:
> I have my application happily generating UUID primary keys using the
> uuidtools gem.
>
> But the auto-generated specifications created by "script/generate
> rspec_scaffold...", etc, assume that one is using a sequential integer
> primary key.
>
> For those who have hit this same issue, is it just a matter of
> rewriting
> the auto-generated specifications to take this into account, or does
> one
> have to dig into the code of rspec because this assumptions is
> hardwired
> in?
What happens when you run the generated examples?
More information about the rspec-users
mailing list