Skip to content

feat: pagination boundary tests and spec/support infrastructure (#70)#70

Merged
eclectic-coding merged 2 commits into
mainfrom
feat/0.8.0-request-specs
May 26, 2026
Merged

feat: pagination boundary tests and spec/support infrastructure (#70)#70
eclectic-coding merged 2 commits into
mainfrom
feat/0.8.0-request-specs

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

@eclectic-coding eclectic-coding commented May 26, 2026

Summary

  • Adds spec/support/request_helpers.rb with a shared engine_root let for all request specs; rails_helper.rb now auto-loads spec/support/**/*.rb
  • Adds describe "pagination" blocks to five list view specs (jobs, failed jobs, cache entries, history, cable messages) — covers pagination controls appearing at 26+ records, page 2 returning 200, and out-of-range pages returning 200 without error
  • Advances v0.8.0 milestone: all request spec and edge-case coverage items are now complete; only service class unit tests remain

Test plan

  • bundle exec rspec — 271 examples, 0 failures
  • bin/rubocop — no offenses

Closes #41
Closes #42
Closes #44

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 26, 2026 18:34
- Add spec/support/request_helpers.rb — defines `let(:engine_root)` for all
  request specs via RSpec.configure; rails_helper.rb loads support/**/*.rb
- Add `describe "pagination"` blocks to jobs, failed_jobs, cache_entries,
  history, and cable_messages specs — covers page 2, pagination controls
  visible at 26+ records, and graceful handling of out-of-range pages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 6ea51b2 into main May 26, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/0.8.0-request-specs branch May 26, 2026 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant