aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorSunny Ripert <sunny@sunfox.org>2013-05-28 14:37:04 +0200
committerSunny Ripert <sunny@sunfox.org>2013-05-28 14:38:02 +0200
commit53607be559ec60e3b5bd915f8533550648f7ef8a (patch)
treef0d6d76729acf3f28d011e49bd70219ddfdb311f /guides/source/testing.md
parent70b302b189dbe9f90e3b081fa540c909a43ba8d0 (diff)
downloadrails-53607be559ec60e3b5bd915f8533550648f7ef8a.tar.gz
rails-53607be559ec60e3b5bd915f8533550648f7ef8a.tar.bz2
rails-53607be559ec60e3b5bd915f8533550648f7ef8a.zip
Remove double spaces in guides
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r--guides/source/testing.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index b8aec94386..fbda1e8f45 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -622,11 +622,11 @@ The `assert_select` assertion is quite powerful. For more advanced usage, refer
There are more assertions that are primarily used in testing views:
-| Assertion | Purpose |
-| ---------------------------------------------------------- | ------- |
-| `assert_select_email` | Allows you to make assertions on the body of an e-mail. |
-| `assert_select_encoded` | Allows you to make assertions on encoded HTML. It does this by un-encoding the contents of each element and then calling the block with all the un-encoded elements.|
-| `css_select(selector)` or `css_select(element, selector)` | Returns an array of all the elements selected by the _selector_. In the second variant it first matches the base _element_ and tries to match the _selector_ expression on any of its children. If there are no matches both variants return an empty array.|
+| Assertion | Purpose |
+| --------------------------------------------------------- | ------- |
+| `assert_select_email` | Allows you to make assertions on the body of an e-mail. |
+| `assert_select_encoded` | Allows you to make assertions on encoded HTML. It does this by un-encoding the contents of each element and then calling the block with all the un-encoded elements.|
+| `css_select(selector)` or `css_select(element, selector)` | Returns an array of all the elements selected by the _selector_. In the second variant it first matches the base _element_ and tries to match the _selector_ expression on any of its children. If there are no matches both variants return an empty array.|
Here's an example of using `assert_select_email`: