diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-18 06:47:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 12:47:37 +0100 |
commit | b4cbfff3ebf0da3ab0fd76686c71887854a8de87 (patch) | |
tree | 4659fd41ec528197fdfc79adc8c391819a7ecd48 /spec | |
parent | 7e215b3bda546d1a85fea0fec7fcb55f4c8f6e3e (diff) |
Autofix Rubocop RSpec/ExcessiveDocstringSpacing (#23666)
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/settings/migrations_controller_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/concerns/account_interactions_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/settings/migrations_controller_spec.rb b/spec/controllers/settings/migrations_controller_spec.rb index 35c5747a0..4ce153c9d 100644 --- a/spec/controllers/settings/migrations_controller_spec.rb +++ b/spec/controllers/settings/migrations_controller_spec.rb @@ -90,7 +90,7 @@ describe Settings::MigrationsController do end end - context 'when a recent migration already exists ' do + context 'when a recent migration already exists' do let(:acct) { Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(user.account)]) } before do diff --git a/spec/models/concerns/account_interactions_spec.rb b/spec/models/concerns/account_interactions_spec.rb index 755c71314..b79c44594 100644 --- a/spec/models/concerns/account_interactions_spec.rb +++ b/spec/models/concerns/account_interactions_spec.rb @@ -400,7 +400,7 @@ describe AccountInteractions do subject { account.domain_blocking?(domain) } context 'blocking the domain' do - it ' returns true' do + it 'returns true' do account_domain_block = Fabricate(:account_domain_block, domain: domain) account.domain_blocks << account_domain_block is_expected.to be true |