From 552af82c508ac16368bfd40c6962281312b95b25 Mon Sep 17 00:00:00 2001 From: Miyake J Takuma Date: Tue, 1 Dec 2020 16:55:20 +0900 Subject: [PATCH] Fix typos --- CHANGELOG.md | 1 + spec/grape/validations_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 99aba0612c..5cef5172ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ #### Fixes * Your contribution here. +* [#2137](https://github.com/ruby-grape/grape/pull/2137): Fix typos - [@johnny-miyake](https://github.com/johnny-miyake). * [#2131](https://github.com/ruby-grape/grape/pull/2131): Fix Ruby 2.7 keyword deprecation warning in validators/coerce - [@K0H205](https://github.com/K0H205). * [#2132](https://github.com/ruby-grape/grape/pull/2132): Use #ruby2_keywords for correct delegation on Ruby <= 2.6, 2.7 and 3 - [@eregon](https://github.com/eregon). diff --git a/spec/grape/validations_spec.rb b/spec/grape/validations_spec.rb index 7629b2bc19..d325634f61 100644 --- a/spec/grape/validations_spec.rb +++ b/spec/grape/validations_spec.rb @@ -921,7 +921,7 @@ def validate_param!(attr_name, params) expect(last_response.status).to eq(200) end - it "simplest example using Arry -> Array -> Hash -> String" do + it "simplest example using Array -> Array -> Hash -> String" do subject.params do requires :orders, type: Array do requires :id, type: Integer @@ -947,7 +947,7 @@ def validate_param!(attr_name, params) expect(last_response.status).to eq(200) end - it "simplest example using Arry -> Hash -> String" do + it "simplest example using Array -> Hash -> String" do subject.params do requires :orders, type: Array do requires :id, type: Integer