about summary refs log tree commit diff
path: root/spec/controllers/admin/domain_blocks_controller_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-18 09:33:41 -0500
committerGitHub <noreply@github.com>2023-02-18 23:33:41 +0900
commit5069769cbe7295268e8b87ce34fa0a753bfbb233 (patch)
treeb86dfe35a6dffedb5190840854a74778f259dd0e /spec/controllers/admin/domain_blocks_controller_spec.rb
parentde4b8224c09a5d868c02a550022485e14245cb0a (diff)
Autofix Rubocop Style/TrailingCommaInHashLiteral (#23693)
Diffstat (limited to 'spec/controllers/admin/domain_blocks_controller_spec.rb')
-rw-r--r--spec/controllers/admin/domain_blocks_controller_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/admin/domain_blocks_controller_spec.rb b/spec/controllers/admin/domain_blocks_controller_spec.rb
index f432060d9..3b2fd6c5d 100644
--- a/spec/controllers/admin/domain_blocks_controller_spec.rb
+++ b/spec/controllers/admin/domain_blocks_controller_spec.rb
@@ -26,9 +26,9 @@ RSpec.describe Admin::DomainBlocksController, type: :controller do
           domain_blocks_attributes: {
             '0' => { enabled: '1', domain: 'example.com', severity: 'silence' },
             '1' => { enabled: '0', domain: 'mastodon.social', severity: 'suspend' },
-            '2' => { enabled: '1', domain: 'mastodon.online', severity: 'suspend' }
-          }
-        }
+            '2' => { enabled: '1', domain: 'mastodon.online', severity: 'suspend' },
+          },
+        },
       }
 
       expect(DomainBlockWorker).to have_received(:perform_async).exactly(2).times