Updating tests around working with non-standard ActiveRecord models with non-sequence based primary keys.
* move into test/import_test so it runs across all supported adapters [#60]
This commit is contained in:
parent
71a393d000
commit
b500ebe5a1
3 changed files with 13 additions and 5 deletions
3
test/models/widget.rb
Normal file
3
test/models/widget.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
class Widget < ActiveRecord::Base
|
||||
self.primary_key = :w_id
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue