Skip to content

Improve tests, add test coverage report, and set rails agents' models#258

Merged
fabionl merged 4 commits into
developfrom
feat/improve-tests
Jan 19, 2026
Merged

Improve tests, add test coverage report, and set rails agents' models#258
fabionl merged 4 commits into
developfrom
feat/improve-tests

Conversation

@fabionl
Copy link
Copy Markdown
Collaborator

@fabionl fabionl commented Jan 19, 2026

No description provided.

…ity-related models

- Created factories for Alert and Zone models with traits for active/inactive alerts and facilities/users associations.
- Added model specs for Alert, FacilitySchedule, FacilityService, Facility, FacilityWelcome, Notice, User, and Zone, including validations, associations, scopes, and custom methods.
- Implemented tests for enum values and their behaviors in FacilityWelcome and Notice models.
- Enhanced Facility model specs to cover discardable behavior and various scopes.
- Introduced SimpleCov for test coverage reporting, excluding spec and vendor directories.
@fabionl fabionl merged commit a3195d4 into develop Jan 19, 2026
2 checks passed
@fabionl fabionl deleted the feat/improve-tests branch January 19, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant