projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use factories for all factory associations.
[rails.git]
/
test
/
factories
/
old_node.rb
diff --git
a/test/factories/old_node.rb
b/test/factories/old_node.rb
index 403ffc0ea04b539c0ad2b4a5fea8463104c5b77d..3eda91a539a0e01b5e84cd056fa2e9c9cff00b25 100644
(file)
--- a/
test/factories/old_node.rb
+++ b/
test/factories/old_node.rb
@@
-4,9
+4,7
@@
FactoryGirl.define do
longitude 1 * GeoRecord::SCALE
changeset
-
- # FIXME: needs node factory
- node_id 1000
+ association :current_node, :factory => :node
visible true
timestamp Time.now