[openstreetmap/openstreetmap-website] Pass the user object, rather than the id, for sessions (#1456)

Andy Allan notifications at github.com
Wed Feb 22 11:08:42 UTC 2017

gravitystorm commented on this pull request.

> @@ -1578,11 +1578,11 @@ def test_query
     assert_response :success, "can't get changesets by closed-ness"
     assert_changesets [3, 5, 6, 7, 8, 9]
-    get :query, :closed => "true", :user => users(:normal_user).id
+    get :query, :closed => "true", :user => users(:normal_user)

Good catch - I'd avoided changing a bunch of other ones, but these two were a mistake.

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/c411d3a2/attachment-0001.html>

More information about the rails-dev mailing list