Tom Hughes
140b296f59
Test that tags are included correctly in the changeset feed
2022-10-18 18:42:02 +01:00
Andy Allan
38ad8fbc36
Use login_path instead of explicit controller and actions
...
This makes future refactoring easier.
2021-03-10 14:31:55 +00:00
Tom Hughes
e430bc0f7f
Fix URL generation for atom feed on history page
...
Fixes #3085
2021-02-07 16:24:14 +00:00
Andy Allan
47d11763fb
Add some changsets that shouldn't be selected
2020-07-22 17:51:43 +02:00
Andy Allan
e7dc2f2e55
Refactor changeset index testing to assert against objects, not db queries
...
This avoids the situation where tests pass despite an empty db.
Refs #2614
2020-07-22 17:39:48 +02:00
Andy Allan
506731031d
Refactor some more controller tests
2020-04-22 16:45:16 +02:00
Tom Hughes
1f4d48eaf3
Fix some deprecation warnings
2019-11-24 11:05:02 +00:00
Andy Allan
2169c503ef
Rename user.friend_users to user.friends
...
This is possible now since we've renamed Friend to Friendship
2019-06-19 16:51:35 +02:00
Andy Allan
1cf8fec58d
Rename Friend model to Friendship
...
This better describes what the model represents, which is the relationship
between the two users.
2019-06-19 16:39:25 +02:00
Andy Allan
1778fa3d9c
Move the api methods from changesets_controller into the api namespaced controller
2019-02-24 12:18:31 +01:00
Andy Allan
8a2df0e0b5
More resourceful routing for nodes, ways, relations and changesets controllers
2019-01-16 13:10:11 +01:00
Tom Hughes
6f2f9221ef
Fix tests for rails 5.2.1 compatibility
...
Rails 5.2.1 has changed how the request body is handled
internally for a test which means we can no longer cheat
by stashing it in the request environment and must instead
pass it properly to the request method.
2018-11-15 00:46:53 +00:00
Andy Allan
252b9ef08a
Pluralize changesets controller
2018-11-14 10:34:28 +01:00