File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -233,18 +233,18 @@ Each one inherits from one of Rails’ built-in `TestCase` classes,
233233meaning the helper methods provided by default in Rails tests
234234are available in RSpec, as well.
235235
236- | Spec type | Corresponding Rails test class |
237- | -------------- | -------------------------------- |
238- | [ model] [ ] | |
239- | [ controller] [ ] | [ ` ActionController::TestCase ` ] [ ] |
240- | [ mailer] [ ] | ` ActionMailer::TestCase ` |
241- | [ job] [ ] | |
242- | [ view] [ ] | ` ActionView::TestCase ` |
243- | [ routing] [ ] | |
244- | [ helper] [ ] | ` ActionView::TestCase ` |
245- | [ request] [ ] | [ ` ActionDispatch::IntegrationTest ` ] [ ] |
246- | [ feature] [ ] | |
247- | [ system] [ ] | [ ` ActionDispatch::SystemTestCase ` ] [ ] |
236+ | Spec type | Corresponding Rails test class |
237+ | -------------- | -------------------------------- |
238+ | [ model] [ ] | |
239+ | [ controller] [ ] | [ ` ActionController::TestCase ` ] [ ] |
240+ | [ mailer] [ ] | ` ActionMailer::TestCase ` |
241+ | [ job] [ ] | |
242+ | [ view] [ ] | ` ActionView::TestCase ` |
243+ | [ routing] [ ] | |
244+ | [ helper] [ ] | ` ActionView::TestCase ` |
245+ | [ request] [ ] | [ ` ActionDispatch::IntegrationTest ` ] [ ] |
246+ | [ feature] [ ] | |
247+ | [ system] [ ] | [ ` ActionDispatch::SystemTestCase ` ] [ ] |
248248
249249Follow the links above to see examples of each spec type,
250250or for official Rails API documentation on the given ` TestCase ` class.
You can’t perform that action at this time.
0 commit comments