openstreetmap-website/test/controllers/api
Andy Allan 1700c23dd1 Prefer find_by() instead of where().first
These are very similar, differing only if we would expect multiple
results and the sorting is important. However, in all our cases
we're only expecting one result to be returned, and so find_by is
easier to read.
2023-10-04 17:53:58 +01:00
..
capabilities_controller_test.rb Expose note query limit values in api capabilities 2023-08-19 05:40:34 +03:00
changeset_comments_controller_test.rb Improve testing of changeset comment rate limits 2023-08-30 19:11:08 +01:00
changesets_controller_test.rb Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
map_controller_test.rb Check required bbox parameter presence outside of BoundingBox class 2023-09-03 09:47:27 +03:00
nodes_controller_test.rb Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
notes_controller_test.rb Merge remote-tracking branch 'upstream/pull/4222' 2023-09-03 18:54:18 +01:00
old_nodes_controller_test.rb Fix new rubocop warnings 2022-10-25 19:19:57 +01:00
old_relations_controller_test.rb Resolve some extra-long lines 2020-10-28 11:07:34 +01:00
old_ways_controller_test.rb Resolve some extra-long lines 2020-10-28 11:07:34 +01:00
permissions_controller_test.rb JSON output added to permissions endpoint 2022-03-08 20:21:35 +01:00
relations_controller_test.rb Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
tracepoints_controller_test.rb Check required bbox parameter presence outside of BoundingBox class 2023-09-03 09:47:27 +03:00
traces_controller_test.rb Prefer find_by() instead of where().first 2023-10-04 17:53:58 +01:00
user_blocks_controller_test.rb Add json output for show user block api 2023-09-09 16:50:36 +03:00
user_preferences_controller_test.rb Add tests for routing and to ensure output format 2021-04-14 16:11:57 +01:00
users_controller_test.rb Fix new rubocop warnings 2023-09-26 18:42:57 +01:00
versions_controller_test.rb Add JSON output to /api/versions 2023-08-18 05:16:39 +03:00
ways_controller_test.rb Fix new rubocop warnings 2023-09-26 18:42:57 +01:00