popular posts: fix exception when given blank date param.

Flexbooru calls this endpoint with a blank date param.
This commit is contained in:
evazion
2020-03-31 21:06:49 -05:00
parent 0aa8e16113
commit 34337b0eb5
2 changed files with 6 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ module Explore
get popular_explore_posts_path
assert_response :success
end
should "work with a blank date" do
get popular_explore_posts_path(date: "")
assert_response :success
end
end
context "#curated" do