[openstreetmap/openstreetmap-website] Convert ACL fixture to a factory, and add some tests (#1335)

Andy Allan notifications at github.com
Wed Oct 26 08:19:06 UTC 2016


The fixture was unused, so I took the opportunity to put in a couple of basic model tests.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Convert ACL fixture to a factory, and add some tests

-- File Changes --

    M app/models/acl.rb (2)
    A test/factories/acls.rb (5)
    D test/fixtures/acls.yml (13)
    M test/models/acl_test.rb (20)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1335.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1335.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/1335
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161026/dc111385/attachment.html>


More information about the rails-dev mailing list