Add tests for SnapTrade#742
Conversation
📝 WalkthroughWalkthroughTest coverage additions for Snaptrade account processing functionality. A fixture file is updated to reflect pending registration state, while two new test suites comprehensively validate account processor logic and data helper methods for handling holdings, activities, decimal parsing, date conversion, security resolution, and currency extraction. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…lpers. (#742) Co-authored-by: luckyPipewrench <luckypipewrench@proton.me>
…lpers. (we-promise#742) Co-authored-by: luckyPipewrench <luckypipewrench@proton.me>
Created two new test files:
test/models/snaptrade_account_processor_test.rb (17 tests):
test/models/snaptrade_data_helpers_test.rb (17 tests):
Fixed Fixture Inconsistency:
Renamed unconfigured_item to pending_registration_item with:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.