Update rubocop-rspec to version 3.10.1 (#39303)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2026-06-08 15:27:34 +00:00
1 parent 4ee21a6c14
commit fc64804b4d
12 files changed
+24 -22

No files matched your search

+1 -1
View File
@@ -375,7 +375,7 @@ RSpec.describe '/api/v1/statuses' do
.to start_with('application/json')
expect(response.parsed_body[:quote]).to be_present
expect(response.parsed_body[:spoiler_text]).to eq 'this is a CW'
expect(response.parsed_body[:content]).to match(/RE: /)
expect(response.parsed_body[:content]).to include('RE: ')
expect(response.headers['X-RateLimit-Limit']).to eq RateLimiter::FAMILIES[:statuses][:limit].to_s
expect(response.headers['X-RateLimit-Remaining']).to eq (RateLimiter::FAMILIES[:statuses][:limit] - 1).to_s
end