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 58abeb7 commit 80d9117Copy full SHA for 80d9117
test/sandbox/test/translatable_test.rb
@@ -184,9 +184,9 @@ def test_inheriting_and_overriding_translations
184
def translate(key, **options)
185
component = TranslatableComponent.new
186
render_inline(component)
187
- component.
188
- instance_variable_get(:@view_context).
189
- instance_variable_set(:@virtual_path, component.virtual_path)
+ component
+ .instance_variable_get(:@view_context)
+ .instance_variable_set(:@virtual_path, component.virtual_path)
190
component.translate(key, **options)
191
end
192
0 commit comments