spec/grape/validations_spec.rb in grape-1.5.1 vs spec/grape/validations_spec.rb in grape-1.5.2

- old
+ new

@@ -919,11 +919,11 @@ get '/validate_required_arrays_under_optional_arrays', data expect(last_response.body).to eq("validate_required_arrays_under_optional_arrays works!") 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 optional :drugs, type: Array do requires :batch_no, type: String @@ -945,10 +945,10 @@ get '/validate_required_arrays_under_optional_arrays', data expect(last_response.body).to eq("validate_required_arrays_under_optional_arrays works!") 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 optional :drugs, type: Hash do requires :batch_no, type: String