Re: [rspec-users] Does RSpec work nicely with UUID primary keys?

2008-07-05 Thread John Knox
Jarkko Laine wrote: > If you add some new code (without writing new specs for it), > even in the form of using plugins, and your existing specs still run, > it doesn't mean your code is working correctly because you didn't > write specs for that part of the functionality yet. That makes a lot of

Re: [rspec-users] Does RSpec work nicely with UUID primary keys?

2008-07-05 Thread John Knox
David Chelimsky wrote: > What happens when you run the generated examples? My code uses single table inheritance (STI) and a MySQL database, so I thought it best to create some new simple projects with a single model. (1) I created a new project using SQLite with a single model. All 58 auto-ge

[rspec-users] Does RSpec work nicely with UUID primary keys?

2008-07-05 Thread John Knox
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