0
0
Fork 0

Convert admin/relationships spec controller->system (#34002)

This commit is contained in:
Matt Jankowski 2025-02-28 06:17:13 -05:00 committed by GitHub
parent bff53a637e
commit b56e90d049
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 23 deletions

View file

@ -0,0 +1,18 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe 'Admin Relationships' do
before { sign_in(admin_user) }
describe 'Viewing account relationships page' do
let(:account) { Fabricate(:account) }
it 'shows page with relationships for account' do
visit admin_account_relationships_path(account.id)
expect(page)
.to have_title(I18n.t('admin.relationships.title', acct: account.pretty_acct))
end
end
end