Skip to content

Commit f070b12

Browse files
committed
Refactor slotable_test
1 parent e86e41a commit f070b12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sandbox/test/slotable_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def test_slot_with_respond_to
194194
end
195195
end
196196

197-
assert component.items.first.respond_to?(:classes)
197+
assert_not_nil component.items.first.classes
198198
end
199199

200200
def test_slot_forwards_kwargs_to_component

0 commit comments

Comments
 (0)