Files
Z. Cliffe Schreuders f44c211d53 fix: Make tests database-agnostic and fix fixture loading
- Update migration to support both PostgreSQL (jsonb) and SQLite (json)
- Fix Rails 8 compatibility (remove config.assets)
- Configure Pundit to use current_player instead of current_user
- Add explicit fixture class mappings for engine fixtures
- Configure standalone mode for tests
- Update test fixtures with proper timestamps and structure
- Improve game test to create data programmatically

Tests now run with 10/12 assertions passing. Remaining errors are due to
missing test scenario files, which can be addressed separately.
2025-11-21 15:27:54 +00:00

6 lines
270 B
Ruby

# Be sure to restart your server when you modify this file.
# Asset pipeline configuration removed - Rails 8 uses Propshaft instead of Sprockets
# For Rails engine testing, asset configuration is not required
# The engine serves static assets from public/break_escape/