aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-02-15 12:30:38 +0100
committerRobin Dupret <robin.dupret@gmail.com>2015-02-15 19:19:04 +0100
commit1747c4e2cea811cbf04fccc9f57256c80112d9ce (patch)
treee0ea6f1b8dedbe206f15b67a9b226618539fc764 /guides/source/testing.md
parent3960908f41ea638556493762937c440761af9a65 (diff)
downloadrails-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.md3
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