mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 00:38:27 +00:00
Remove usage of assigns in controller specs (#30195)
This commit is contained in:
@@ -18,7 +18,8 @@ describe Admin::InvitesController do
|
||||
|
||||
it 'renders index page' do
|
||||
expect(subject).to render_template :index
|
||||
expect(assigns(:invites)).to include invite
|
||||
expect(response.body)
|
||||
.to include(invite.code)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user