Skip to content

Set up development environment: RuboCop rake task, RSpec, and SimpleCov#3

Merged
eclectic-coding merged 17 commits into
mainfrom
chore/dev-environment
May 18, 2026
Merged

Set up development environment: RuboCop rake task, RSpec, and SimpleCov#3
eclectic-coding merged 17 commits into
mainfrom
chore/dev-environment

Conversation

@eclectic-coding

Copy link
Copy Markdown
Owner

Summary

  • Adds rake rubocop task and makes it the default alongside rake specbundle exec rake now runs the full suite
  • Adds rspec-rails with a minimal dummy Rails app (spec/dummy/) for request specs against the mounted engine
  • Adds simplecov configured with the Rails profile, grouping by Controllers / Helpers / Views / Library
  • Adds a test job to CI running bundle exec rspec
  • Fixes pagy v43 API throughout: Pagy::Backend/FrontendPagy::Method, pagy(collection)pagy(:offset, collection), pagy_nav@pagy.series_nav
  • Requires solid_queue explicitly in the engine to ensure the constant is available in test environments

Test plan

  • bundle exec rake runs rubocop (0 offenses) then rspec (2 examples, 0 failures)
  • coverage/index.html is generated after running specs
  • CI lint and test jobs both pass

🤖 Generated with Claude Code

eclectic-coding and others added 17 commits May 18, 2026 10:05
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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 051b0b4 into main May 18, 2026
4 checks passed
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