-
-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
test 'should sort product by most recent' do
# we will touch some products to update them
products(:two).touch
products(:one)
I implemented the test code and code on model but test fails becuase doesn't return products in expected order, also anyone can explain me what does those two last lines? I understand that the first line updates the datetime on "updated_at" atrribute, but second line, what does?
unChartedZone
Metadata
Metadata
Assignees
Labels
No labels