Fix typos (#19849)
Found via `codespell -q 3 -S ./yarn.lock,./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,followings,keypair,medias,pattens,pixelx,rememberable,ro,te`pull/1910/head
parent
6f1559ed0f
commit
6ba52306f9
|
@ -50,7 +50,7 @@ describe WebfingerResource do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'finds the username in a mixed case http route' do
|
it 'finds the username in a mixed case http route' do
|
||||||
resource = 'HTTp://exAMPLEe.com/users/alice'
|
resource = 'HTTp://exAMPLe.com/users/alice'
|
||||||
|
|
||||||
result = WebfingerResource.new(resource).username
|
result = WebfingerResource.new(resource).username
|
||||||
expect(result).to eq 'alice'
|
expect(result).to eq 'alice'
|
||||||
|
|
|
@ -255,7 +255,7 @@ RSpec.describe Account, type: :model do
|
||||||
Fabricate(:status, reblog: original_status, account: author)
|
Fabricate(:status, reblog: original_status, account: author)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'is is true when this account has favourited it' do
|
it 'is true when this account has favourited it' do
|
||||||
Fabricate(:favourite, status: original_reblog, account: subject)
|
Fabricate(:favourite, status: original_reblog, account: subject)
|
||||||
|
|
||||||
expect(subject.favourited?(original_status)).to eq true
|
expect(subject.favourited?(original_status)).to eq true
|
||||||
|
@ -267,7 +267,7 @@ RSpec.describe Account, type: :model do
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when the status is an original status' do
|
context 'when the status is an original status' do
|
||||||
it 'is is true when this account has favourited it' do
|
it 'is true when this account has favourited it' do
|
||||||
Fabricate(:favourite, status: original_status, account: subject)
|
Fabricate(:favourite, status: original_status, account: subject)
|
||||||
|
|
||||||
expect(subject.favourited?(original_status)).to eq true
|
expect(subject.favourited?(original_status)).to eq true
|
||||||
|
|
Loading…
Reference in New Issue