diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-02-15 12:30:38 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-02-15 19:19:04 +0100 |
commit | 1747c4e2cea811cbf04fccc9f57256c80112d9ce (patch) | |
tree | e0ea6f1b8dedbe206f15b67a9b226618539fc764 /guides/source/testing.md | |
parent | 3960908f41ea638556493762937c440761af9a65 (diff) | |
download | rails-1747c4e2cea811cbf04fccc9f57256c80112d9ce.tar.gz rails-1747c4e2cea811cbf04fccc9f57256c80112d9ce.tar.bz2 rails-1747c4e2cea811cbf04fccc9f57256c80112d9ce.zip |
Tiny documentation edits [ci skip]
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r-- | guides/source/testing.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 625f366db1..14bc75aa7d 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -545,7 +545,8 @@ NOTE: Functional tests do not verify whether the specified request type is accep ### Testing XHR (AJAX) requests -Enable set `xhr: true` option as an argument to `get/post/patch/put/delete` method: +To test AJAX requests, you can specify the `xhr: true` option to `get`, `post`, +`patch`, `put`, and `delete` methods: ```ruby test "ajax request responds with no layout" do |