[openstreetmap/openstreetmap-website] Display message when the there are no notes/comments to display (#3169)
Harry Wood
notifications at github.com
Fri Apr 9 18:09:11 UTC 2021
@harry-wood commented on this pull request.
> @@ -73,4 +73,11 @@ def test_index_paged
assert_response :success
assert_select "table.note_list tr", :count => 11
end
+
+ def test_empty_page
I created a test method for this scenario. Would your normally split it out like that or bundle this into one of the existing test methods? I'm more accustomed to creating lots of separate `it` blocks in nested `context` blocks in rspec
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3169#pullrequestreview-632672562
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210409/fccdb3c1/attachment.htm>
More information about the rails-dev
mailing list