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:
Martin Brennan 2021-01-19 10:27:18 +10:00 committed by GitHub
parent 5710d5d771
commit 5fd1001bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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