everydayrails / rails-4-1-rspec-3-0

Code samples for Everyday Rails Testing with RSpec, Rails 4.1/RSpec 3.0 edition
272 stars 229 forks source link

Ch 10: PUT or PATCH to update contact? #11

Open JunichiIto opened 10 years ago

JunichiIto commented 10 years ago

In the API test, you use PUT method to update a contact. But isn't it PATCH? As for API design, I am not sure about that, though.