sequence(:k) { |n| "Key #{n}" }
sequence(:v) { |n| "Value #{n}" }
- # Fixme requires changeset factory
- changeset_id 1
+ changeset
end
end
longitude 1 * GeoRecord::SCALE
changeset
-
- # FIXME: needs node factory
- node_id 1000
+ association :current_node, :factory => :node
visible true
timestamp Time.now
sequence(:k) { |n| "Key #{n}" }
sequence(:v) { |n| "Value #{n}" }
- # Fixme requires old_node factory
- node_id 1
- version 1
+ old_node
end
end
sequence(:k) { |n| "Key #{n}" }
sequence(:v) { |n| "Value #{n}" }
- # Fixme requires old_relation factory
- relation_id 1
- version 1
+ old_relation
end
end
sequence(:k) { |n| "Key #{n}" }
sequence(:v) { |n| "Value #{n}" }
- # Fixme requires old_way factory
- way_id 1
- version 1
+ old_way
end
end
sequence(:k) { |n| "Key #{n}" }
sequence(:v) { |n| "Value #{n}" }
- # Fixme requires relation factory
- relation_id 1
+ relation
end
end
end
trait :revoked do
- # FIXME: requires User factory
- revoker_id 5
+ association :revoker, :factory => :moderator_user
end
end
end
sequence(:k) { |n| "Key #{n}" }
sequence(:v) { |n| "Value #{n}" }
- # Fixme requires way factory
- way_id 1
+ way
end
end