Closed evanyeyeye closed 4 months ago
This update involves refining the ExtensionsController by removing unnecessary methods and enhancing the testing suite. It also includes database schema updates to support character set specifications, collation, and foreign key constraints, ensuring data integrity and consistency across various tables. The modifications aim to improve the application's robustness and maintainability while ensuring comprehensive testing coverage for the ExtensionsController.
File Path | Change Summary |
---|---|
app/controllers/.../extensions_controller.rb |
Removed extension_params method |
db/schema.rb |
Updated charset, collation, and added foreign key constraints |
spec/controllers/.../extensions_controller_spec.rb |
Added shared examples, tests for different user roles, and thorough testing for index , create , and destroy actions |
Objective | Addressed | Explanation |
---|---|---|
[Tests] extensions: Render test index (#1799) | ✅ | |
[Tests] extensions: Functionality test create (#1799) | ✅ | |
[Tests] extensions: Functionality test destroy (#1799) | ✅ |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
Adds tests for full coverage of extensions.
Motivation and Context
Closes #1799.