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
|
@ -17,9 +17,4 @@ describe "#import" do
|
|||
assert_equal 1, result.num_inserts
|
||||
end
|
||||
end
|
||||
|
||||
it "should import models whose primary key has no sequence if the primary key's value is specified" do
|
||||
result = Widget.import Build(3, :widgets)
|
||||
assert_equal 1, result.num_inserts
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue