inline_forms_installer 8.1.79 → 8.1.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a213171388189adaa8b49481c2539c765a9fa575c8464cc6fa2a69c6518a3a8
|
|
4
|
+
data.tar.gz: 9d2c6c1355c222d08c6aa51666722d5fe38f27a033889b72cdbf082f6292adfd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b82dcf50a68277f9e1f900e0d6f0cf22aecefbf2c8ca5f35b47438b1433cf02ed5092b65096927beaeae0d5a018b16651df3d03484a5797a04ae133d3fe097f1
|
|
7
|
+
data.tar.gz: 979ee33f6540d36289932a03b302fc1004b8c7b29237629d5a89db56c19485a41f9b52147d5120a13e019b9f9526cf9a0ee1430305bbdb9dc3397711fbc0c9eb
|
|
@@ -45,6 +45,19 @@ class ExampleAppUserSearchSuggestionsTest < ExampleAppIntegrationTestCase
|
|
|
45
45
|
assert_response :redirect
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
test "the search box has accessible names" do
|
|
49
|
+
get users_path
|
|
50
|
+
|
|
51
|
+
assert_select "form[role=search] input#input_search[aria-label]"
|
|
52
|
+
assert_select "form[role=search] a[aria-label] i.fi-x[aria-hidden=true]"
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
test "every controller can tell a suggestion request from a list view" do
|
|
56
|
+
assert ApplicationController.new.respond_to?(:inline_forms_suggestion_request?, true),
|
|
57
|
+
"ApplicationController inherits inline_forms_suggestion_request? for the app's own callbacks"
|
|
58
|
+
refute ApplicationController.action_methods.include?("inline_forms_suggestion_request?")
|
|
59
|
+
end
|
|
60
|
+
|
|
48
61
|
test "the layout's script bundle carries the suggestion script" do
|
|
49
62
|
get users_path
|
|
50
63
|
|