Merge commit '389a6cc4c0
' into upstream-20231108
This commit is contained in:
commit
08f86bcb8f
107 changed files with 970 additions and 703 deletions
|
@ -18,13 +18,15 @@ RSpec.describe Admin::AccountModerationNotesHelper do
|
|||
let(:account) { Fabricate(:account) }
|
||||
|
||||
it 'calls #link_to' do
|
||||
expect(helper).to receive(:link_to).with(
|
||||
allow(helper).to receive(:link_to)
|
||||
|
||||
helper.admin_account_link_to(account)
|
||||
|
||||
expect(helper).to have_received(:link_to).with(
|
||||
admin_account_path(account.id),
|
||||
class: name_tag_classes(account),
|
||||
title: account.acct
|
||||
)
|
||||
|
||||
helper.admin_account_link_to(account)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -18,7 +18,7 @@ describe InstanceHelper do
|
|||
end
|
||||
|
||||
describe 'site_hostname' do
|
||||
around(:each) do |example|
|
||||
around do |example|
|
||||
before = Rails.configuration.x.local_domain
|
||||
example.run
|
||||
Rails.configuration.x.local_domain = before
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue