Open
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This pull request adds comprehensive integration tests to achieve feature parity with the stream-chat-ruby SDK. The PR introduces eight new test specification files covering video, chat users, reactions, polls, moderation, miscellaneous features, messages, and channels, along with a shared test helpers module.
Changes:
- Added
chat_test_helpers.rbmodule providing shared utilities for test setup, user/channel creation, and resource cleanup - Added comprehensive integration tests for video operations (call types, calls, external storage, recording/transcription)
- Added integration tests for chat functionality covering users, channels, messages, reactions, polls, and moderation features
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 16 comments.
Show a summary per file
| File | Description |
|---|---|
| spec/integration/chat_test_helpers.rb | Shared helper module for integration tests with setup/teardown and common operations |
| spec/integration/video_integration_spec.rb | Tests for video call types, calls, permissions, blocking, muting, external storage, and deletion |
| spec/integration/chat_user_integration_spec.rb | Tests for user CRUD, blocking, deactivation, privacy settings, teams, and custom data |
| spec/integration/chat_reaction_integration_spec.rb | Tests for sending, retrieving, deleting, and enforcing unique reactions |
| spec/integration/chat_polls_integration_spec.rb | Tests for poll creation, querying, voting, and verification |
| spec/integration/chat_moderation_integration_spec.rb | Tests for banning, muting, and flagging users and messages |
| spec/integration/chat_misc_integration_spec.rb | Tests for devices, blocklists, commands, channel types, permissions, roles, threads, reminders, and exports |
| spec/integration/chat_message_integration_spec.rb | Tests for message CRUD, pinning, translation, threads, search, pending messages, and history |
| spec/integration/chat_channel_integration_spec.rb | Tests for channel CRUD, members, roles, hiding/showing, truncation, freezing, muting, file uploads |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding test cases to cover feature parity with https://github.com/GetStream/stream-chat-ruby