TIL that rack-test will respect (although it shouldn't) data-method="delete". Thanks @derekprior. Ref: https://github.com/jnicklas/capybara/issues/184 …
@derekprior Its not just a JS fill, though. You can't even send a real DELETE request from JS
-
-
@sgrif amended: JS fill with conventional backend support. Most browsers do support those verbs via AJAX though, no? -
@derekprior Nope. The JS fill submits a form with a hidden _method input. - 1 more reply
New conversation -
-
-
@sgrif@derekprior I thought delete requests were still valid http.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.