1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 07:06:18 +09:00

Use describe instead of context in top-level spec declaration (#31607)

This commit is contained in:
Matt Jankowski 2024-08-27 03:40:18 -04:00 committed by GitHub
parent 29b9642b31
commit 14d7fe05d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@
require 'rails_helper'
context 'when visited anonymously' do
describe 'Anonymous visits' do
around do |example|
old = ActionController::Base.allow_forgery_protection
ActionController::Base.allow_forgery_protection = true