mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-10 12:16:23 +01:00
Remove render_template
from remote interaction helper request spec (#33518)
This commit is contained in:
parent
f4b463ecb1
commit
4148b68430
@ -9,7 +9,6 @@ RSpec.describe 'Remote Interaction Helper' do
|
|||||||
|
|
||||||
expect(response)
|
expect(response)
|
||||||
.to have_http_status(200)
|
.to have_http_status(200)
|
||||||
.and render_template(:index, layout: 'helper_frame')
|
|
||||||
.and have_attributes(
|
.and have_attributes(
|
||||||
headers: include(
|
headers: include(
|
||||||
'X-Frame-Options' => 'SAMEORIGIN',
|
'X-Frame-Options' => 'SAMEORIGIN',
|
||||||
@ -17,6 +16,8 @@ RSpec.describe 'Remote Interaction Helper' do
|
|||||||
'Content-Security-Policy' => expected_csp_headers
|
'Content-Security-Policy' => expected_csp_headers
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
expect(response.body)
|
||||||
|
.to match(/remote_interaction_helper/)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user