Skip to content

Conversation

@exoego
Copy link
Owner

@exoego exoego commented Dec 2, 2025

No description provided.


def test_reports_schema_builder_errors
env = {
'TZ' => ENV['TZ'],

Check notice

Code scanning / Rubocop

Suggests `ENV.fetch` for the replacement of `ENV[]`. Note test

Style/FetchEnvVar: Use ENV.fetch('TZ', nil) instead of ENV['TZ'].
def test_reports_schema_builder_errors
env = {
'TZ' => ENV['TZ'],
'RAILS_ENV' => ENV['RAILS_ENV'],

Check notice

Code scanning / Rubocop

Suggests `ENV.fetch` for the replacement of `ENV[]`. Note test

Style/FetchEnvVar: Use ENV.fetch('RAILS_ENV', nil) instead of ENV['RAILS_ENV'].
record = RSpec::OpenAPI.path_records[path].last
raise 'OpenAPI record was not generated' unless record

invalid_record = RSpec::OpenAPI::Record.new(**record.to_h.merge(response_body: Object.new))

Check notice

Code scanning / Rubocop

When passing an existing hash as keyword arguments, provide additional arguments directly rather than using `merge`. Note test

Style/KeywordArgumentsMerging: Provide additional arguments directly rather than using merge.
@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.46%. Comparing base (0986ea3) to head (eef08dd).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #276      +/-   ##
==========================================
+ Coverage   97.48%   98.46%   +0.97%     
==========================================
  Files          20       20              
  Lines         717      717              
  Branches      178      178              
==========================================
+ Hits          699      706       +7     
+ Misses         18       11       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@exoego exoego changed the title coverage coverage error reporter Dec 2, 2025
@exoego exoego added the chore label Dec 2, 2025
@exoego exoego marked this pull request as ready for review December 2, 2025 01:39
@exoego exoego merged commit 5d13866 into master Dec 2, 2025
14 checks passed
@exoego exoego deleted the coverage-errors branch December 2, 2025 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants