A platform for community discussion. Free, open, simple.
FIX: Do not test bookmark rate limiter message (#11749)
Martin Brennan5fd1001bfdeb
diff --git a/spec/requests/bookmarks_controller_spec.rb b/spec/requests/bookmarks_controller_spec.rbindex b2ac9f09929..b7e7ea52b7f 100644--- a/spec/requests/bookmarks_controller_spec.rb+++ b/spec/requests/bookmarks_controller_spec.rb@@ -29,9 +29,6 @@ describe BookmarksController dopost_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")- )endcontext "if the user reached the max bookmark limit" do