mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-09 11:26:04 -05:00
Update rubocop-rspec to version 3.10.1 (#39303)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user