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

Rspec fix #442

Merged
merged 3 commits into from
Nov 27, 2024
Merged

Rspec fix #442

merged 3 commits into from
Nov 27, 2024

Conversation

damisul
Copy link
Collaborator

@damisul damisul commented Nov 26, 2024

Fixed error in specs.
Problem occured when there where two manifestations with same impressions_count.

In this case TextAPI uses additional sorting by id, but spec code ignored it. Added missing sorting by id

damisul and others added 3 commits November 26, 2024 10:18
…e impressions_count, so in this case we need to additionally sort records by id, to match TextAPI behaviour
app/api/v1/texts_api.rb Show resolved Hide resolved
@@ -1,7 +1,8 @@
FROM ruby:3.2.1-buster
FROM ruby:3.3.5-bullseye
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

bumped version of docker image to match updated ruby version

@damisul damisul requested a review from abartov November 26, 2024 08:08
@abartov abartov merged commit 1062037 into master Nov 27, 2024
7 checks passed
@abartov abartov deleted the rspec_fix branch November 27, 2024 17:53
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.

2 participants