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 a937895 commit f4b5e18Copy full SHA for f4b5e18
docs/CHANGELOG.md
@@ -22,6 +22,10 @@ nav_order: 5
22
23
*Denis Pasin*
24
25
+* Fix the example of #vc_test_request in the API reference to use the correct method name.
26
+
27
+ *Alberto Rocha*
28
29
## 3.16.0
30
31
* Add template information to multiple template error messages.
docs/api.md
@@ -343,7 +343,7 @@ Access the request used by `render_inline`:
343
344
```ruby
345
test "component does not render in Firefox" do
346
- request.env["HTTP_USER_AGENT"] = "Mozilla/5.0"
+ vc_test_request.env["HTTP_USER_AGENT"] = "Mozilla/5.0"
347
render_inline(NoFirefoxComponent.new)
348
refute_component_rendered
349
end
0 commit comments