We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d6d55 commit ea5f071Copy full SHA for ea5f071
lib/generators/rspec/scaffold/templates/controller_spec.rb
@@ -17,6 +17,11 @@
17
# is no simpler way to get a handle on the object needed for the example.
18
# Message expectations are only used when there is no simpler way to specify
19
# that an instance is receiving a specific message.
20
+#
21
+# Also compared to earlier versions of this generator, there are no longer any
22
+# expectations of assigns and templates rendered. These features have been
23
+# removed from Rails core in Rails 5, but can be added back in via the
24
+# `rails-controller-testing` gem.
25
26
<% module_namespacing do -%>
27
RSpec.describe <%= controller_class_name %>Controller, <%= type_metatag(:controller) %> do
0 commit comments