-
Notifications
You must be signed in to change notification settings - Fork 4
fixed last bid column in offers view #1398
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
base: master
Are you sure you want to change the base?
Conversation
Added test coverage for the new index action. |
@@ -379,4 +379,135 @@ def test_slipping_time_no_added_to_blind_auction_if_outbided | |||
|
|||
assert_equal ends_at, @valid_auction.ends_at | |||
end | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remember to delete the comments generated by Cursor. And also, don’t forget to refactor the code.
The comments it adds are usually super obvious. If there’s actually a confusing part — something that would take time and mental effort to figure out — then sure, a short comment makes sense. But in other cases, the comments just take up space.
For learning purposes, I recommend reading the chapter on comments in Clean Code by Robert Martin.
Also, I would still go with using fixtures — they help keep tests more compact. But I guess this works too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code cleaned up - comments removed. Also added new fixture for new test.
close #1397