[openstreetmap/openstreetmap-website] Make all factory-generated users 'normal' (#1459)

Andy Allan notifications at github.com
Wed Feb 22 18:27:59 UTC 2017

The use of create(:normal_user) makes the tests needlessly harder to understand and reason about, particularly when we start using associations in the factories.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Make all factory-generated users 'normal'

-- File Changes --

    M test/controllers/amf_controller_test.rb (8)
    M test/controllers/api_controller_test.rb (2)
    M test/controllers/diary_entry_controller_test.rb (80)
    M test/controllers/notes_controller_test.rb (22)
    M test/factories/user.rb (13)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170222/565544bb/attachment.html>

More information about the rails-dev mailing list