Note that in order to simplify the component tests (which for some reason seem to be whitespace-sensitive), we have to omit whitespace characters inside the `<option>` tags. Also note we're simplifying the test with a missing language name; since a component test doesn't involve a whole request, we don't need a complex setup (I'm not sure we even need it in system tests).
2 lines
50 B
Plaintext
2 lines
50 B
Plaintext
<%= render Layout::LocaleSwitcherComponent.new %>
|