[openstreetmap/openstreetmap-website] Replace trace-related fixtures with factories. (#1347)
Andy Allan
notifications at github.com
Tue Nov 1 10:45:28 UTC 2016
gravitystorm commented on this pull request.
> @@ -353,38 +367,45 @@ def test_data_not_found
assert_response :not_found
# Now with a trace that has been deleted
- get :data, { :display_name => users(:public_user).display_name, :id => 5 }, { :user => users(:public_user).id }
+ deleted_trace_file = create(:trace, :deleted)
Also fixed
--
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/1347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20161101/6178bb1a/attachment.html>
More information about the rails-dev
mailing list