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

added controller specs #772

Closed
wants to merge 3 commits into from
Closed

Conversation

fchatterji
Copy link

@fchatterji fchatterji commented Feb 13, 2023

What github issue is this PR for, if any?

Resolves #453

What does this code do, and why?

added some specs for comments controller
added specs to the admin controller
removed duplicated simplecov config in rails bin
improved simplecov config in spec helper to add coverage groups (models, controllers...)

How is this code tested?

Are any database migrations required by this change?

no

Are there any configuration or environment changes needed?

no

Screenshots please :)

Copy link
Member

@compwron compwron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! :)

@fchatterji
Copy link
Author

@compwron I fixed the failing tests

@fchatterji fchatterji changed the title added specs for comments controller added controller specs Feb 19, 2023
@fchatterji
Copy link
Author

@compwron I had more time on this, so I improved the tests for the admin controller. Please tell me if that looks good to you, if it does i propose merging this PR, and when i have time i'll do another one for the other controllers

@fchatterji fchatterji closed this Feb 20, 2023
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.

Improve test coverage by writing more tests
2 participants