That doesn't seem to be entirely correct.

Rails 5 does 
https://github.com/rails/rails/blob/5-0-stable/railties/lib/rails/generators/test_unit/controller/templates/functional_test.rb#L4
 
generate a test that uses `ActionDispatch::IntegrationTest`, but it depends 
on what your test inherits from.
Do you inherit yours from `ActionDispatch::IntegrationTest` or 
`ActionController::TestCase`?

`ActionController::TestCase` code is still in Rails 5.0 
https://github.com/rails/rails/blob/5-0-stable/actionpack/lib/action_controller/test_case.rb#L388
and Rails 5.2 
https://github.com/rails/rails/blob/5-2-stable/actionpack/lib/action_controller/test_case.rb#L394
and even Rails 6.0 
https://github.com/rails/rails/blob/6-0-stable/actionpack/lib/action_controller/test_case.rb#L394

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/806a8626-4568-4ce8-86ed-2260e2ebbfedn%40googlegroups.com.

Reply via email to