FIX: Do not test bookmark rate limiter message (#11749)
* the time can be a little off so it is not consistently exactly 24 hours
This commit is contained in:
parent
5710d5d771
commit
5fd1001bfd
|
@ -29,9 +29,6 @@ describe BookmarksController do
|
|||
post_id: Fabricate(:post).id
|
||||
}
|
||||
expect(response.status).to eq(429)
|
||||
expect(response.parsed_body['errors']).to include(
|
||||
I18n.t("rate_limiter.by_type.create_bookmark", time_left: "24 hours")
|
||||
)
|
||||
end
|
||||
|
||||
context "if the user reached the max bookmark limit" do
|
||||
|
|
Loading…
Reference in New Issue