@tomhughes commented on this pull request.
> @@ -476,8 +476,11 @@ def test_index_paged
def test_index_user_paged
user = create(:user)
- create_list(:diary_entry, 50, :user => user)
- user.confirm!
+ num_entries = 50
+ build_list(:diary_entry, num_entries, :user => user) do |entry, i|
+ entry.created_at = (num_entries - i).days.ago
+ entry.save!
+ end
What's this about, and what does it have to do with the commit it's part of?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6564#pullrequestreview-3545569743
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6564/review/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev