Update rubocop-rspec to version 3.10.1 (#39303)

This commit is contained in:
Matt Jankowski
2026-06-08 11:27:34 -04:00
committed by GitHub
parent 4ee21a6c14
commit fc64804b4d
12 changed files with 24 additions and 22 deletions

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