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

[Feat] Rails controller integration #370

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

okuramasafumi
Copy link
Owner

Close #368

The current problem is how to test this feature. I know I can test it with a dummy app, but it seems too heavy.

`serialize` and `render_serialized_json` for `ActionController::Base`
@okuramasafumi okuramasafumi self-assigned this Jun 10, 2024
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.82%. Comparing base (99ba225) to head (81c6c80).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #370   +/-   ##
=======================================
  Coverage   99.81%   99.82%           
=======================================
  Files          14       14           
  Lines         553      570   +17     
  Branches      129      135    +6     
=======================================
+ Hits          552      569   +17     
  Misses          1        1           

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

The test code looks a bit ugly, but it seems working.
test/dependencies/railties_test.rb Dismissed Show dismissed Hide dismissed
@okuramasafumi okuramasafumi merged commit 0c25a60 into main Jun 19, 2024
64 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.

Rails controller integration
1 participant