0
0
Fork 0

Autofix Rubocop RSpec/ExampleWording (#23667)

This commit is contained in:
Nick Schonning 2023-02-17 21:26:20 -05:00 committed by GitHub
parent 7a3d4c3d4b
commit c0a645f647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 20 deletions

View file

@ -79,7 +79,7 @@ RSpec.describe CustomEmoji, type: :model do
describe 'pre_validation' do
let(:custom_emoji) { Fabricate(:custom_emoji, domain: 'wWw.MaStOdOn.CoM') }
it 'should downcase' do
it 'downcases' do
custom_emoji.valid?
expect(custom_emoji.domain).to eq('www.mastodon.com')
end