2
0

Autofix Rubocop RSpec/LeadingSubject (#23670)

This commit is contained in:
Nick Schonning
2023-02-19 23:24:14 -05:00
committed by GitHub
parent 4ea1e0fceb
commit 4552685f6b
78 changed files with 256 additions and 338 deletions

View File

@@ -2,10 +2,10 @@ require 'rails_helper'
RSpec.describe TextFormatter do
describe '#to_s' do
let(:preloaded_accounts) { nil }
subject { described_class.new(text, preloaded_accounts: preloaded_accounts).to_s }
let(:preloaded_accounts) { nil }
context 'given text containing plain text' do
let(:text) { 'text' }