Fix broken option defaults in tootctl email-domain-blocks (#38107)

This commit is contained in:
Claire authored and GitHub committed 2026-03-09 11:26:16 +00:00
1 parent 4211b1b34c
commit e235c446c9
2 files changed
+3 -4

No files matched your search

@@ -101,7 +101,6 @@ RSpec.describe Mastodon::CLI::EmailDomainBlocks do
context 'when no blocks exist' do
let(:domain) { 'host.example' }
let(:arguments) { [domain] }
let(:options) { { allow_with_approval: false } }
it 'adds a new block' do
expect { subject }
@@ -113,7 +112,7 @@ RSpec.describe Mastodon::CLI::EmailDomainBlocks do
context 'with --with-dns-records true' do
let(:domain) { 'host.example' }
let(:arguments) { [domain] }
let(:options) { { allow_with_approval: false, with_dns_records: true } }
let(:options) { { with_dns_records: true } }
before do
configure_mx(domain: domain, exchange: 'other.host')