[openstreetmap/openstreetmap-website] User factories for integration tests (#1490)

Andy Allan notifications at github.com
Wed Mar 15 16:15:52 UTC 2017


This converts the remaining integration tests over to user factories.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Use user factory for user_terms_seen integration test.
  * Refactor the oauth integration test to avoid using user fixtures.

-- File Changes --

    M test/factories/client_applications.rb (2)
    M test/integration/oauth_test.rb (16)
    M test/integration/user_terms_seen_test.rb (8)

-- Patch Links --

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


More information about the rails-dev mailing list