1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-22 09:08:24 +00:00

Fix the relationships controller spec, since it requires an extra model now ()

This commit is contained in:
Claire 2024-03-21 09:28:37 +01:00 committed by GitHub
parent 39bac24cb7
commit 7434c9c276
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,11 +7,12 @@ describe 'Severed relationships page' do
describe 'GET severed_relationships#index' do
let(:user) { Fabricate(:user) }
let(:event) { Fabricate(:account_relationship_severance_event, account: user.account) }
before do
sign_in user
Fabricate(:severed_relationship, local_account: user.account)
Fabricate.times(3, :severed_relationship, local_account: user.account, relationship_severance_event: event.relationship_severance_event)
end
it 'returns http success' do