diff options
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 |