Enable "zero monkey patching" mode in RSpec (#31614)

This commit is contained in:
Matt Jankowski 2024-09-04 01:12:25 -04:00 committed by GitHub
parent c9ea91f868
commit f1003b2560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
439 changed files with 441 additions and 439 deletions

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe Account::Counters do
RSpec.describe Account::Counters do
let!(:account) { Fabricate(:account) }
describe '#increment_count!' do

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe Account::FinderConcern do
RSpec.describe Account::FinderConcern do
describe 'local finders' do
let!(:account) { Fabricate(:account, username: 'Alice') }

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe Account::Interactions do
RSpec.describe Account::Interactions do
let(:account) { Fabricate(:account, username: 'account') }
let(:account_id) { account.id }
let(:account_ids) { [account_id] }

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe Account::StatusesSearch do
RSpec.describe Account::StatusesSearch do
let(:account) { Fabricate(:account, indexable: indexable) }
before do

View file

@ -2,7 +2,7 @@
require 'rails_helper'
describe Status::ThreadingConcern do
RSpec.describe Status::ThreadingConcern do
describe '#ancestors' do
let!(:alice) { Fabricate(:account, username: 'alice') }
let!(:bob) { Fabricate(:account, username: 'bob', domain: 'example.com') }