In a controller spec, calling a PUT or POST action

Public, Testing / TDD

harrylevine

Created: Sep 18, 2015     Updated: Sep 18, 2015


From users_controller_spec.rb:

put :update, :id => user.id, :user => { :active => false }