Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed CI on the calculators constructor branch #960

Merged
merged 4 commits into from
Nov 22, 2024

Conversation

SleekMutt
Copy link
Contributor

@SleekMutt SleekMutt commented Nov 20, 2024

dev

Code reviewers

Second Level Review

Summary of issue

Failed CI that needs to be fixed. Not working Diapers calculator that needs to be restored

Summary of change

Fixed CI by deleting the redundant code from the old constructor of calculators. Also fixed Diapers calculator by returning related to it methods and changing field relation to be optional.

CHECK LIST

  • СI passed
  • Сode coverage >=95%
  • PR is reviewed manually again (to make sure you have 100% ready code)
  • All reviewers agreed to merge the PR
  • I've checked new feature as logged in and logged out user if needed
  • PR meets all conventions

…alculators. Also fixed Diapers calculator by returning related to it methods
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (calculators-constructor@707e3fc). Learn more about missing BASE report.

Files with missing lines Patch % Lines
app/controllers/account/calculators_controller.rb 50.00% 2 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                     @@
##             calculators-constructor     #960   +/-   ##
==========================================================
  Coverage                           ?   83.98%           
==========================================================
  Files                              ?       65           
  Lines                              ?      974           
  Branches                           ?        0           
==========================================================
  Hits                               ?      818           
  Misses                             ?      156           
  Partials                           ?        0           

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


🚨 Try these New Features:

@SleekMutt SleekMutt merged commit 9130d91 into calculators-constructor Nov 22, 2024
5 checks passed
@SleekMutt SleekMutt deleted the fix-ci branch November 22, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for QA
Development

Successfully merging this pull request may close these issues.

2 participants