Run rubocop formatting except line length (#23632)

This commit is contained in:
Nick Schonning
2023-02-17 16:56:20 -05:00
committed by GitHub
parent 593bb8ce99
commit 669f6d2c0a
71 changed files with 269 additions and 566 deletions

View File

@@ -11,10 +11,10 @@ RSpec.describe UnreservedUsernameValidator, type: :validator do
let(:validator) { described_class.new }
let(:account) { double(username: username, errors: errors) }
let(:errors ) { double(add: nil) }
let(:errors) { double(add: nil) }
context '@username.blank?' do
let(:username) { nil }
let(:username) { nil }
it 'not calls errors.add' do
expect(errors).not_to have_received(:add).with(:username, any_args)
@@ -22,7 +22,7 @@ RSpec.describe UnreservedUsernameValidator, type: :validator do
end
context '!@username.blank?' do
let(:username) { 'f' }
let(:username) { 'f' }
context 'reserved_username?' do
let(:reserved_username) { true }