Skip to content

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.rb
index b2ac9f09929..b7e7ea52b7f 100644
--- a/spec/requests/bookmarks_controller_spec.rb
+++ b/spec/requests/bookmarks_controller_spec.rb
@@ -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