Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
j-miyake committed Dec 1, 2020
1 parent 26e4919 commit 552af82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
4 changes: 2 additions & 2 deletions spec/grape/validations_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 552af82

Please sign in to comment.