[openstreetmap/openstreetmap-website] Even more Factories (#1528)

Andy Allan notifications at github.com
Tue Apr 25 14:30:36 UTC 2017


This adds four more factories, for old_way, old_way_node, old_relation and old_relation_member.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/1528

-- Commit Summary --

  * Create an old_relation factory, and start using it for tests.
  * Create an old_relation_member factory, and start using it for tests.
  * Create an old_way factory, and start using it for tests.
  * Create an old_way_node factory, and start using it for tests.

-- File Changes --

    A test/factories/old_relation.rb (10)
    A test/factories/old_relation_member.rb (9)
    A test/factories/old_way.rb (10)
    A test/factories/old_way_node.rb (8)
    M test/models/old_relation_test.rb (130)
    M test/models/old_way_test.rb (99)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1528.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1528.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1528
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170425/eaebc44e/attachment.html>


More information about the rails-dev mailing list