Test response redirect
describe "submitting to the update action" do before { put user_path(user) } specify { response.should redirect_to(signin_path) } end