about summary refs log tree commit diff
path: root/spec/validators/unreserved_username_validator_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-02-23 20:04:23 +0100
committerGitHub <noreply@github.com>2022-02-23 20:04:23 +0100
commit8c9c05d57914236dc7104a67e84743e1ce36f7cc (patch)
tree645c19df410f74da25f2531d140013e90b930de4 /spec/validators/unreserved_username_validator_spec.rb
parent2c8615fbf8f8085eb836733b27b33c9522c29c71 (diff)
parent55692978ecb1f3fc9049f976de5764b7a24f4de9 (diff)
Merge pull request #1700 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'spec/validators/unreserved_username_validator_spec.rb')
-rw-r--r--spec/validators/unreserved_username_validator_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/validators/unreserved_username_validator_spec.rb b/spec/validators/unreserved_username_validator_spec.rb
index cabd6d386..746b3866c 100644
--- a/spec/validators/unreserved_username_validator_spec.rb
+++ b/spec/validators/unreserved_username_validator_spec.rb
@@ -27,7 +27,7 @@ RSpec.describe UnreservedUsernameValidator, type: :validator do
       context 'reserved_username?' do
         let(:reserved_username) { true }
 
-        it 'calls erros.add' do
+        it 'calls errors.add' do
           expect(errors).to have_received(:add).with(:username, :reserved)
         end
       end
@@ -35,7 +35,7 @@ RSpec.describe UnreservedUsernameValidator, type: :validator do
       context '!reserved_username?' do
         let(:reserved_username) { false }
 
-        it 'not calls erros.add' do
+        it 'not calls errors.add' do
           expect(errors).not_to have_received(:add).with(:username, any_args)
         end
       end