mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-07-30 09:17:44 -04:00
- Remove `Photo.reindex` calls from `spec/spec_helper.rb` and feature specs. - Modify `LikesController` to conditionally call `reindex` only if the likeable object responds to it, preventing `NoMethodError` for non-indexed models like `Photo`. - Remove unnecessary `:reindex` trait from photo factory call in `likeable_spec.rb`. Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com>