diff options
author | luzpaz <luzpaz@users.noreply.github.com> | 2022-11-08 11:32:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 17:32:03 +0100 |
commit | 6ba52306f9d2611a06326445230b54c156c37e53 (patch) | |
tree | 07ab8a140034fe2688f171acb8d810bc15ed1aa9 /spec | |
parent | 6f1559ed0f17cf4bc7402559c4c564f0ebead9c9 (diff) |
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`
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/webfinger_resource_spec.rb | 2 | ||||
-rw-r--r-- | spec/models/account_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/webfinger_resource_spec.rb b/spec/lib/webfinger_resource_spec.rb index 236e9f3e2..5c7f475d6 100644 --- a/spec/lib/webfinger_resource_spec.rb +++ b/spec/lib/webfinger_resource_spec.rb @@ -50,7 +50,7 @@ describe WebfingerResource do end 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 expect(result).to eq 'alice' diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index 75e0235b8..edae05f9d 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -255,7 +255,7 @@ RSpec.describe Account, type: :model do Fabricate(:status, reblog: original_status, account: author) 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) expect(subject.favourited?(original_status)).to eq true @@ -267,7 +267,7 @@ RSpec.describe Account, type: :model do end 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) expect(subject.favourited?(original_status)).to eq true |