mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
clean up some rubocop stuff
This commit is contained in:
@@ -11,7 +11,7 @@ class TemplateUnitTest < Minitest::Test
|
||||
|
||||
def test_sets_default_localization_in_context_with_quick_initialization
|
||||
t = Template.new
|
||||
t.parse('{%comment%}{%endcomment%}', :locale => I18n.new(fixture("en_locale.yml")))
|
||||
t.parse('{%comment%}{%endcomment%}', locale: I18n.new(fixture("en_locale.yml")))
|
||||
|
||||
locale = t.root.nodelist[0].options[:locale]
|
||||
assert_instance_of I18n, locale
|
||||
|
||||
Reference in New Issue
Block a user