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