dawarich/spec/support
Claude b1cbb5555f
Refactor: Apply Rails best practices to trip sharing implementation
- Remove unused @is_public_view variable from controller
- Simplify conditionals by leveraging methods that return [] when empty
- Move public view from trips/public_show to shared/trips/show (Rails conventions)
- Refactor trips#update to be HTML-only (remove JSON responses)
- Convert sharing form to use proper Rails form helpers
- Move JS controller to shared/ subdirectory with proper namespacing
- Create RSpec shared examples for Shareable concern to eliminate duplication
- Update request specs to match HTML-only controller behavior
- Apply 'render/redirect ... and return' pattern for early returns
2025-11-07 12:05:34 +00:00
..
shared_examples Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
capybara.rb Update test setup 2025-05-26 22:18:20 +02:00
devise.rb Fixes for visits suggestions. 2025-07-02 23:50:32 +02:00
geocoder_stubs.rb Make sure geocoder errors are reported 2025-05-13 20:33:04 +02:00
map_layer_helpers.rb Add system tests for map interaction 2025-05-26 20:33:48 +02:00
point_helpers.rb Refactor tracks jobs and services 2025-07-16 22:22:33 +02:00
polyline_popup_helpers.rb Add system tests for map interaction 2025-05-26 20:33:48 +02:00
pundit_matchers.rb Extract some useful code from January of 2023 app 2023-02-01 14:30:09 +01:00
redis.rb Clean up some mess 2025-07-20 18:57:53 +02:00
system_helpers.rb Add a scheduled job to create tracks for all users for the past 24 hours. 2025-07-09 21:25:56 +02:00