You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
506 B
20 lines
506 B
# frozen_string_literal: true |
|
|
|
require 'rails_helper' |
|
|
|
RSpec.describe 'Admin Relationships' do |
|
let(:admin_user) { Fabricate(:admin_user) } |
|
|
|
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
|
|
|