projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b9b6b
)
2762: Fix wrong class used in test case.
author
Tom Clegg <tom@curoverse.com>
Wed, 14 May 2014 18:05:15 +0000
(14:05 -0400)
committer
Tom Clegg <tom@curoverse.com>
Wed, 14 May 2014 18:05:15 +0000
(14:05 -0400)
services/api/test/unit/owner_test.rb
patch
|
blob
|
history
diff --git
a/services/api/test/unit/owner_test.rb
b/services/api/test/unit/owner_test.rb
index df96f31255ba57ae20bba446a324a477a81f5196..f159294f6b64c3b3f705f31ea3e91729a593be74 100644
(file)
--- a/
services/api/test/unit/owner_test.rb
+++ b/
services/api/test/unit/owner_test.rb
@@
-42,7
+42,7
@@
class OwnerTest < ActiveSupport::TestCase
test "change owner from legit #{o_class} to legit #{new_o_class} owner" do
o = o_class.create
i = Specimen.create(owner_uuid: o.uuid)
- new_o = o_class.create
+ new_o =
new_
o_class.create
assert(Specimen.where(uuid: i.uuid).any?,
"new item should really be in DB")
assert(i.update_attributes(owner_uuid: new_o.uuid),